generate Position And Orientation Relative To Centered Target
external fun generatePositionAndOrientationRelativeToCenteredTarget(targetLonLatDegAltMeters: Coordinates, targetHeadingPitchRollDeg: Tuple3d, cameraHeadingPitchDegDistanceMeters: Tuple3d, resultPosition: Tuple3d, resultOrientation: Tuple4d): Int
Generate a position and orientation relative to, and oriented toward/centered on, a target position which is relative to the focused sphere (orientation relative to target).
Parameters
target Lon Lat Deg Alt Meters
desired lon, lat and alt for target
target Heading Pitch Roll Deg
desired heading, pitch and roll for target
camera Heading Pitch Deg Distance Meters
desired heading pitch and distance for camera
result Position
computed position
result Orientation
computed orientation