PolygonMathGetClosedPolygonArea(IEnumerableValueTupleDouble, Double) Method |
Gets the area of a closed polygon.
Namespace: Altaxo.Geometry.Double_2DAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static double GetClosedPolygonArea(
IEnumerable<(double X, double Y)> closedPolygon
)
Parameters
- closedPolygon IEnumerableValueTupleDouble, Double
- The points forming a closed polygon.
Return Value
DoubleThe 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