Computes a simplified polyline.

Namespace:  ceometric.ComputationalGeometry
Assembly:  ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.4.0.0 (2.4.0.0)

Syntax

C#
public Polyline Simplify(
	double epsilon
)
Visual Basic (Declaration)
Public Function Simplify ( _
	epsilon As Double _
) As Polyline
Visual C++
public:
Polyline^ Simplify(
	double epsilon
)

Parameters

epsilon
Type: System..::.Double
The maximum spatial distance between any point on the old and new polyline.

Return Value

Returns a simplified polyline where the maximum distance of each vertex of the original polyline to the new polyline is smaller than epsilon.

See Also