Click or drag to resize

MathHelperPolygonLenght Method

Returns the lenght value of a polygon.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public static double PolygonLenght(
	List<Vector2> Vertexes,
	bool Closed = true
)

Parameters

Vertexes
Type: System.Collections.GenericListVector2
The vertexes of the polygon.
Closed (Optional)
Type: SystemBoolean
True if the polygon is closed (default).

Return Value

Type: Double
The lenght in drawing units.
See Also