Douglas Peucker line simplification

Namespace:  EGIS.ShapeFileLib
Assembly:  EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

Syntax

Visual Basic
Public Shared Sub SimplifyDouglasPeucker ( _
	input As PointD(), _
	inputCount As Integer, _
	tolerance As Double, _
	output As PointD(), _
	ByRef outputCount As Integer _
)
C#
public static void SimplifyDouglasPeucker(
	PointD[] input,
	int inputCount,
	double tolerance,
	PointD[] output,
	ref int outputCount
)
Visual C++
public:
static void SimplifyDouglasPeucker(
	array<PointD>^ input, 
	int inputCount, 
	double tolerance, 
	array<PointD>^ output, 
	int% outputCount
)
JavaScript
EGIS.ShapeFileLib.GeometryAlgorithms.simplifyDouglasPeucker = function(input, inputCount, tolerance, output, outputCount);

Parameters

input
Type: array<EGIS.ShapeFileLib..::..PointD>[]()[][]
inputCount
Type: System..::..Int32
tolerance
Type: System..::..Double
output
Type: array<EGIS.ShapeFileLib..::..PointD>[]()[][]
outputCount
Type: System..::..Int32%

See Also