MathHelperSimplifyPolyline Method
|
Approximates (simplifies) a Polyline.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.12.2
Syntaxpublic static EntityObject SimplifyPolyline(
EntityObject Polyline,
double tolerance
)
Public Shared Function SimplifyPolyline (
Polyline As EntityObject,
tolerance As Double
) As EntityObject
public:
static EntityObject^ SimplifyPolyline(
EntityObject^ Polyline,
double tolerance
)
static member SimplifyPolyline :
Polyline : EntityObject *
tolerance : float -> EntityObject
STATIC METHOD SimplifyPolyline(
Polyline AS EntityObject,
tolerance AS REAL8
) AS EntityObject
Parameters
- Polyline
- Type: DXFReaderNET.EntitiesEntityObject
The input Polyline or LwPolyline. - tolerance
- Type: SystemDouble
The tolerance for simplification (higher = more simplified).
Return Value
Type:
EntityObjectA simplified LwPolyline (with less vertexes).
See Also