RhinoCommon API
ViewportInfoGetFrustumLine Method (Double, Double) |
Gets the world coordinate line in the view frustum
that projects to a point on the screen.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.1

public Line GetFrustumLine( double screenX, double screenY )
Public Function GetFrustumLine ( screenX As Double, screenY As Double ) As Line
Parameters
- screenX
- Type: SystemDouble
(screenx,screeny) = screen location. - screenY
- Type: SystemDouble
(screenx,screeny) = screen location.
Return Value
Type: Line3d world coordinate line segment starting on the near clipping plane and ending on the far clipping plane.
