Click or drag to resize

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


Type: Rhino.GeometryPoint3d
A 3D point.
Type: SystemDouble
A computed distance is assigned to this out parameter if this call succeeds.

Return Value

Type: Boolean
true 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.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.20
See Also