Click or drag to resize
Point3dListClosestIndex Method
Rhino for Mac 5.1
Finds the index of the point that is closest to a test point in this list.

Namespace: Rhino.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
public int ClosestIndex(
	Point3d testPoint


Type: Rhino.GeometryPoint3d
point to compare against.

Return Value

Type: Int32
index of closest point in the list on success. -1 on error.
See Also