M_Rhino_Geometry_Point3d_CullDuplicates - mcneel/rhinocommon-api-docs GitHub Wiki
Removes duplicates in the supplied set of points.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Point3d[] CullDuplicates(
IEnumerable<Point3d> points,
double tolerance
)
VB
Public Shared Function CullDuplicates (
points As IEnumerable(Of Point3d),
tolerance As Double
) As Point3d()
- points
- Type: System.Collections.Generic.IEnumerable(Point3d)
A list, an array or any enumerable of Point3d. - tolerance
- Type: System.Double
The minimum distance between points. Points that fall within this tolerance will be discarded. .
Type: Point3d[]
An array of points without duplicates; or null on error.
Supported in: 6.0.16224.21491, 5D58w