the reference in which the polygon is defined
Optional
points: Point[]an array of Point instances
The polygon with the specified points
Creates a polygon with the specified point coordinates.
The x, y, z elements of point coordinates must be expressed in the given reference
.
the reference in which the polygon and point coordinates are defined
Optional
pointCoordinates: PointCoordinates[]an array of PointCoordinates
The polygon with the specified point coordinates
const reference = getReference("EPSG:4979");
const polygon = createPolygon(reference, [[1,1,0],[3,1,0],[3,1,1000],[1,1,1000]);
2021.0
Creates a polygon with the specified points (Point).