Douglas Peucker line simplification

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

Syntax

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

Parameters

input
Type: array<System.Drawing..::..Point>[]()[][]
inputCount
Type: System..::..Int32
tolerance
Type: System..::..Int32
output
Type: array<System.Drawing..::..Point>[]()[][]
outputCount
Type: System..::..Int32%

See Also