CRhinoView window coordinates to 3D coordinates

Hi,
I need to map the CRhinoView window coordinates of the mouse to a 3D world location.

Is there anything similar to RhinoViewport.ClientToWorld in the C/C++ SDK?

Thanks,
Victor

You are looking for ON_Viewport::GetFrustumLine.

That works, thanks!