Utility.RemoveDuplicates<T> (IList<T>, out IList<Int32>) Method

Removes contiguous duplicated points from the list.
Public Shared Function RemoveDuplicates(Of  _ 
T As Point2D)( _ 
ByVal pointList As IList(Of T), _ 
ByRef indices As IList(Of Integer) _ 
) As T()
This language is not supported or no code example is available.
public static T[] RemoveDuplicates<T>( 
IList<T> pointList
out IList<int> indices 

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

indices
IList<int>

The indices in the pointList list of the returned points

Return Value

T[]

The cleaned array of points.

.NET Framework

Supported in: 4.8

In this article

Definition