Creates a GeoPolygon instance
An array of GeoCoordinates acting as the Vertices of the Polygon.
If true
it will sort the coordinates in ccw order, this will only
result correctly for convex polygons @default false
If true
it will wrap around coordinates crossing the antemeridian.
Only supported for polygons with sides that don't span more than 180 degrees longitude.
Gets the Centroid for the Polygon
Might be undefined or with unexpected results for twisted or concave Polygons.
Gets a BoundingBox for the Polygon
Might have unexpected results for twisted or concave Polygons
Generated using TypeDoc
A GeoPolygon in 2D Space (altitudes will be ignored). Coordinates are expected in counter-clockwise order, for convex polygons a sorting is available. Clockwise ordered or selfintersecting Polygons might lead to no or unexpected results.
@internal