projectPointsOntoEllipsoid

external fun projectPointsOntoEllipsoid(cartesians: ReadonlyArray<Cartesian2>, result: ReadonlyArray<Cartesian3>? = definedExternally): ReadonlyArray<Cartesian3>(source)

Computes the projection of the provided 2D positions onto the 3D ellipsoid.

Return

The modified result parameter or a new array of Cartesian3 instances if none was provided.

Parameters

cartesians

The array of points to project.

result

The array of Cartesian3 instances onto which to store results.

See also