Click or drag to resize

PointCloudClosestPoint Method

Returns index of the closest point in the point cloud to a given test point.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int ClosestPoint(
	Point3d testPoint
)

Parameters

testPoint
Type: Rhino.GeometryPoint3d
.

Return Value

Type: Int32
Index of point in the point cloud on success. -1 on failure.
Version Information

Rhino for Mac

Supported in: 5.4 WIP

Rhino for Windows

Supported in: 6.1 BETA
See Also