Utility.Simplify<T> Method

Uses the Douglas Peucker algorithm to reduce the number of points.
Public Shared Function Simplify(Of  _ 
T As Point2D)( _ 
ByVal points As IList(Of T), _ 
ByVal deviation As Double
) As T()
This language is not supported or no code example is available.
public static T[] Simplify<T>( 
IList<T> points
double deviation 

where T : Point2D
This language is not supported or no code example is available.

Type Parameters

T

Parameters

points
IList<T>

The list of 2D or 3D points

deviation
double

The maximum acceptable deviation value

Return Value

T[]

The resulting array of 3D points

.NET Framework

Supported in: 4.8

In this article

Definition