How to create selection box in three.js

i have created a porject where we can draw many shapes dynamically and can edit as well.But what i want is that i want a selection box just like the image shown below


In this image when we create a transparent rectangle the shapes that comes under or the shapes which get intersected to this transparent rectangle get selected.It is a autocad feature.

i was able to make transparent rectangle as shown in image but did’t get the intersection with the shapes .
So how can we found whether the shapes getting intersected by this transparent rectangle or not.

Thanks & Regards

There is a thread, which can be useful for you.