Click or drag to resize

MathHelperPolygonCenter Method

Determines the center of a polygon.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public static Vector2 PolygonCenter(
	Vector2[] Polygon
)

Parameters

Polygon
Type: DXFReaderNETVector2
the vertices of polygon.

Return Value

Type: Vector2
the center point of the polygon
See Also