generatePositionAndOrientation

external fun generatePositionAndOrientation(lonLatDegAltMeters: Coordinates, resultPosition: Tuple3d, resultOrientation: Tuple4d): Int

Generate a position at lon,lat in degrees, with respect to surface of focused sphere, altitude in meters above sphere (sea level), oriented toward the center of the sphere, north up.

Parameters

lonLatDegAltMeters

desired lon, lat and alt

resultPosition

computed position

resultOrientation

computed orientation