fromRadiansArrayHeights
fun fromRadiansArrayHeights(coordinates: ReadonlyArray<Double>, ellipsoid: Ellipsoid? = definedExternally, result: ReadonlyArray<Cartesian3>? = definedExternally): ReadonlyArray<Cartesian3>(source)
Returns an array of Cartesian3 positions given an array of longitude, latitude and height values where longitude and latitude are given in radians.
const positions = Cartesian3.fromRadiansArrayHeights([-2.007, 0.645, 100000.0, -1.867, .575, 150000.0]);
Content copied to clipboard
Return
The array of positions.
Parameters
coordinates
A list of longitude, latitude and height values. Values alternate longitude, latitude, height, longitude, latitude, height....
ellipsoid
The ellipsoid on which the position lies. Default value - Ellipsoid.default
result
An array of Cartesian3 objects to store the result.