Click or drag to resize
RhinoViewportGetDepth Method (Point3d, Double)
Gets clipping distance of a point.

Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public bool GetDepth(
	Point3d point,
	out double distance
)

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: 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.
See Also