fromDegrees
fun fromDegrees(heading: Double, pitch: Double, roll: Double, result: HeadingPitchRoll? = definedExternally): HeadingPitchRoll(source)
Returns a new HeadingPitchRoll instance from angles given in degrees.
Return
A new HeadingPitchRoll instance
Parameters
heading
the heading in degrees
pitch
the pitch in degrees
roll
the heading in degrees
result
The object in which to store the result. If not provided, a new instance is created and returned.