Click or drag to resize

MathHelperSimplifyPolyline Method

Approximates (simplifies) a Polyline.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.12.2
Syntax
public static EntityObject SimplifyPolyline(
	EntityObject Polyline,
	double tolerance
)

Parameters

Polyline
Type: DXFReaderNET.EntitiesEntityObject
The input Polyline or LwPolyline.
tolerance
Type: SystemDouble
The tolerance for simplification (higher = more simplified).

Return Value

Type: EntityObject
A simplified LwPolyline (with less vertexes).
See Also