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

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 in the view frustum and near_dist/far_dist were set. false if the bounding box does not intersect the view frustum.
