Click or drag to resize

PolygonMathGetClosedPolygonArea(IEnumerableValueTupleDouble, Double) 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<(double X, double Y)> closedPolygon
)

Parameters

closedPolygon  IEnumerableValueTupleDouble, Double
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