HeadingPitchRoll

external class HeadingPitchRoll(var heading: Double = definedExternally, var pitch: Double = definedExternally, var roll: Double = definedExternally)(source)

A rotation expressed as a heading, pitch, and roll. Heading is the rotation about the negative z axis. Pitch is the rotation about the negative y axis. Roll is the rotation about the positive x axis.

See also

Constructors

Link copied to clipboard
constructor(heading: Double = definedExternally, pitch: Double = definedExternally, roll: Double = definedExternally)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The heading component in radians. Default value - 0.0

Link copied to clipboard

The pitch component in radians. Default value - 0.0

Link copied to clipboard

The roll component in radians. Default value - 0.0

Functions

Link copied to clipboard
fun clone(result: HeadingPitchRoll? = definedExternally): HeadingPitchRoll

Duplicates this HeadingPitchRoll instance.

Link copied to clipboard
fun equalsEpsilon(right: HeadingPitchRoll? = definedExternally, relativeEpsilon: Double? = definedExternally, absoluteEpsilon: Double? = definedExternally): Boolean

Compares this HeadingPitchRoll against the provided HeadingPitchRoll componentwise and returns true if they pass an absolute or relative tolerance test, false otherwise.