generateRhumbArc

Subdivides polyline and raises all points to the specified height using Rhumb lines. Returns an array of numbers to represent the positions.

const positions = Cartesian3.fromDegreesArray([
-105.0, 40.0,
-100.0, 38.0,
-105.0, 35.0,
-100.0, 32.0
]);
const surfacePositions = PolylinePipeline.generateRhumbArc({
positons: positions
});

Return

A new array of positions of type {number} that have been subdivided and raised to the surface of the ellipsoid.

See also