Utility.RemoveDuplicates<T> (IList<T>, Double) Method
Removes contiguous duplicated points from the list.
Public Shared Function RemoveDuplicates(Of _
T As Point2D)( _
ByVal pointList As IList(Of T), _
ByVal tol As Double _
) As T()
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Type Parameters
-
T
-
A point type
Parameters
-
pointList
-
IList<T>
The list of points to be analyzed
-
tol
-
double
The tolerance that, multiplied for the curve length, determines the distance between two points to be considered NOT duplicated.
Return Value
T[]
The cleaned array of points.
.NET Framework
Supported in: 4.8