M_Rhino_Geometry_PointCloud_ClosestPoint - mcneel/rhinocommon-api-docs GitHub Wiki
Returns index of the closest point in the point cloud to a given test point.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public int ClosestPoint(
Point3d testPoint
)
VB
Public Function ClosestPoint (
testPoint As Point3d
) As Integer
- testPoint
- Type: Rhino.Geometry.Point3d
.
Type: Int32
Index of point in the point cloud on success. -1 on failure.
Supported in: 6.0.16224.21491, 5D58w