PolygonMathGetClosedPolygonArea(IEnumerablePointD2D) 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<PointD2D> closedPolygon
)
Parameters
- closedPolygon IEnumerablePointD2D
- 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