The modified result parameter or a new HeadingPitchRoll instance if one was not provided.
Compares this HeadingPitchRoll against the provided HeadingPitchRoll componentwise and returns
true
if they are equal, false
otherwise.
true
if they are equal, false
otherwise.
Compares this HeadingPitchRoll against the provided HeadingPitchRoll componentwise and returns
true
if they pass an absolute or relative tolerance test,
false
otherwise.
true
if they are within the provided epsilon, false
otherwise.
Creates a string representing this HeadingPitchRoll in the format '(heading, pitch, roll)' in radians.
A string representing the provided HeadingPitchRoll in the format '(heading, pitch, roll)'.
Duplicates a HeadingPitchRoll instance.
The HeadingPitchRoll to duplicate.
The modified result parameter or a new HeadingPitchRoll instance if one was not provided. (Returns undefined if headingPitchRoll is undefined)
Compares the provided HeadingPitchRolls componentwise and returns
true
if they are equal, false
otherwise.
true
if left and right are equal, false
otherwise.
Compares the provided HeadingPitchRolls componentwise and returns
true
if they pass an absolute or relative tolerance test,
false
otherwise.
true
if left and right are within the provided epsilon, false
otherwise.
Returns a new HeadingPitchRoll instance from angles given in degrees.
the heading in degrees
the pitch in degrees
the heading in degrees
A new HeadingPitchRoll instance
Computes the heading, pitch and roll from a quaternion (see http://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles )
The quaternion from which to retrieve heading, pitch, and roll, all expressed in radians.
The modified result parameter or a new HeadingPitchRoll instance if one was not provided.
Duplicates this HeadingPitchRoll instance.