I am trying to emulate the mouse selection in a 3D space with the CRhinoPickContext but I have two problems:
- I define an area of selection which approximates a ray cast by a point towards the objects. While the mouse selection stops on the first object crossed, the PickObjects function selects everything in the area. I could do it if I could get the object distance. I think I can have it for some types of objects with functions like PickPoint, PickLine, PickMesh etc… The problem is that there is not a function to pick breps and surfaces.
- I would like to enable also brep and surfaces faces and edges selection. I thought m_bSubSelect=true could work but nothing seems to change.