I meet the problem that the RhinoGetPointOnMesh need press the left button of the mouse to get a point on mesh.
I want to know a point on mesh when MouseMove .
Now, I use the class of CRhinoGetPoint, but how to get a point on mesh in OnMouseMove.
A Problem is below:
CRhinoMeshObject* my_mesh_object; //my Mesh;
OnMouseMove( CRhinoViewport& vp,
UINT nFlags,
const ON_3dPoint& point,
const CPoint* view_wnd_point)
{
// I can’t use this function to know a point on mesh right now.
//RhinoGetPointOnMesh( my_mesh_object, … )
};