How to know which object is on the cursor when MouseMove?


#1

I have a class which inherits CRhinoGetpoint and constrains a Mesh ( C-Mesh).

And A lot of Object such as line,point,mesh on the C-Mesh.

When GetPoint be called,
can I know the cursor is on some Object ?


(Dale Fugier) #2

The short answer is no. CRhinoGetPoint does not know that objects are under the current cursor location.

Why do you need to know what objects are under the cursor during a point picking operation?


#3

I design a function about drawing a point on the mesh.
If the current cursor is under the else object, I will stop drawing a point on this mesh.
I don’t want to draw a point which is covered by else object.
I would like to draw a point which is visible on the mesh.