Functions
Link copied to clipboard
fun clone(headingPitchRoll: HeadingPitchRoll, result: HeadingPitchRoll? = definedExternally): HeadingPitchRoll
Duplicates a HeadingPitchRoll instance.
Link copied to clipboard
fun equals(left: HeadingPitchRoll? = definedExternally, right: HeadingPitchRoll? = definedExternally): Boolean
Compares the provided HeadingPitchRolls componentwise and returns true
if they are equal, false
otherwise.
Link copied to clipboard
fun equalsEpsilon(left: HeadingPitchRoll? = definedExternally, right: HeadingPitchRoll? = definedExternally, relativeEpsilon: Double? = definedExternally, absoluteEpsilon: Double? = definedExternally): Boolean
Compares the provided HeadingPitchRolls componentwise and returns true
if they pass an absolute or relative tolerance test, false
otherwise.
Link copied to clipboard
fun fromDegrees(heading: Double, pitch: Double, roll: Double, result: HeadingPitchRoll? = definedExternally): HeadingPitchRoll
Returns a new HeadingPitchRoll instance from angles given in degrees.
Link copied to clipboard
fun fromQuaternion(quaternion: Quaternion, result: HeadingPitchRoll? = definedExternally): HeadingPitchRoll
Computes the heading, pitch and roll from a quaternion (see http://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles )