the reference in which the polyline is defined
Optional
points: Point[]an array of Point instances
The polyline with the specified points
Creates a polyline 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 polyline and point coordinates are defined
Optional
pointCoordinates: PointCoordinates[]an array of PointCoordinates
The polyline with the specified point coordinates
const reference = getReference("CRS:84");
const polyline = createPolyline(reference, [[0,1],[10,1],[5,5]);
2021.0
Creates a polyline with the specified points (Point).