RhinoCommon API
RhinoViewportGetDepth Method (Point3d, Double) |
Gets clipping distance of a point.
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool GetDepth( Point3d point, out double distance )
Public Function GetDepth ( point As Point3d, <OutAttribute> ByRef distance As Double ) As Boolean
Parameters
- point
- Type: Rhino.GeometryPoint3d
A 3D point. - distance
- Type: SystemDouble
A computed distance is assigned to this out parameter if this call succeeds.
Return Value
Type: Booleantrue if the point is ing the view frustum and near_dist/far_dist were set. false if the bounding box does not intesect the view frustum.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14