generatePositionAndOrientationWithHeading

external fun generatePositionAndOrientationWithHeading(lonLatDegAltMeters: Coordinates, headingPitchRollDeg: Tuple3d, 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 specified heading, pitch and roll.

Parameters

lonLatDegAltMeters

desired lon, lat and alt

headingPitchRollDeg

desired heading, pitch and roll

resultPosition

computed position

resultOrientation

computed orientation