Click or drag to resize

PolygonMathGetClosedPolygonArea Method

Gets the area of a closed polygon.

Namespace: Altaxo.Geometry.Int64_2D
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double GetClosedPolygonArea(
	IEnumerable<IntPoint> closedPolygon
)

Parameters

closedPolygon  IEnumerableIntPoint
The points forming a closed polygon.

Return Value

Double
The polygon area. The value is signed. The sign is positive if the polygon is counter-clockwise (in a coordinate system in which x is to the right and y is up).
See Also