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.
public static T[] RemoveDuplicates<T>( 
IList<T> pointList
double tol 

where T : Point2D
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

In this article

Definition