M_Rhino_Geometry_Point3d_CullDuplicates - mcneel/rhinocommon-api-docs GitHub Wiki

Point3d.CullDuplicates Method

Removes duplicates in the supplied set of points.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

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()

Parameters

 

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. .

Return Value

Type: Point3d[]
An array of points without duplicates; or null on error.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Point3d Structure
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️