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
)
Public Shared Function PolygonLenght (
Vertexes As List(Of Vector2),
Optional Closed As Boolean = true
) As Double
public:
static double PolygonLenght(
List<Vector2>^ Vertexes,
bool Closed = true
)
static member PolygonLenght :
Vertexes : List<Vector2> *
?Closed : bool
(* Defaults:
let _Closed = defaultArg Closed true
*)
-> float
STATIC METHOD PolygonLenght(
Vertexes AS List<Vector2>,
Closed AS LOGIC := TRUE
) AS REAL8
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:
DoubleThe lenght in drawing units.
See Also