RhinoCommon API
Point3dCullDuplicates Method |
Removes duplicates in the supplied set of points.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

public static Point3d[] CullDuplicates( IEnumerable<Point3d> points, double tolerance )
Public Shared Function CullDuplicates ( points As IEnumerable(Of Point3d), tolerance As Double ) As Point3d()
Parameters
- points
- Type: System.Collections.GenericIEnumerablePoint3d
A list, an array or any enumerable of Point3d. - tolerance
- Type: SystemDouble
The minimum distance between points.Points that fall within this tolerance will be discarded.
.
Return Value
Type: Point3dAn array of points without duplicates; or null on error.
