Click or drag to resize

PolygonMathGetClosedPolygonArea(IEnumerablePointD2D) Method

Gets the area of a closed polygon.

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

Parameters

closedPolygon  IEnumerablePointD2D
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