Click or drag to resize

YawPitchRoll Structure

Represents a rotation as a sequence of three ElementaryRotations about a reference set of axes. The orientation and associated set of axes which result from the first elementary rotation are modified by a second elementary rotation, again performed about the original reference set of axes. Likewise, the third elementary rotation is performed about the original reference set of axes to further modify the orientation. This differs from an EulerSequence where the sequence of rotations are performed about the consecutive set of axes which result from the successive elementary rotations.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public struct YawPitchRoll : IEquatable<YawPitchRoll>, 
	IEquatableEpsilon<YawPitchRoll>

The YawPitchRoll type exposes the following members.

Constructors
  NameDescription
Public methodYawPitchRoll(EulerSequence)
Initializes a YawPitchRoll sequence from the provided EulerSequence.
Public methodYawPitchRoll(AngleAxisRotation, YawPitchRollIndicator)
Initializes a EulerSequence sequence from the provided AngleAxisRotation and sequence.
Public methodYawPitchRoll(Matrix3By3, YawPitchRollIndicator)
Initializes a YawPitchRoll sequence from the provided Matrix3By3 and sequence.
Public methodYawPitchRoll(UnitQuaternion, YawPitchRollIndicator)
Initializes a YawPitchRoll sequence from the provided UnitQuaternion and sequence.
Public methodYawPitchRoll(ElementaryRotation, ElementaryRotation, ElementaryRotation)
Initializes a YawPitchRoll sequence from the provided ElementaryRotation instances.
Public methodYawPitchRoll(Double, Double, Double, YawPitchRollIndicator)
Initializes a YawPitchRoll sequence from the provided angles and sequence.
Top
Properties
  NameDescription
Public propertyFirstRotation
Gets the first rotation.
Public propertySecondRotation
Gets the second rotation.
Public propertySequence
Gets the order of the axes rotations for this instance.
Public propertyThirdRotation
Gets the third rotation.
Top
Methods
  NameDescription
Public methodEquals(Object)
Indicates whether another object is exactly equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(YawPitchRoll)
Indicates whether another instance of this type is exactly equal to this instance.
Public methodEqualsEpsilon
Returns if all of the elements of this quaternion are within epsilon of the same elements of the specified quaternion. That is, in order for the quaternions to be considered equal (and for this function to return ), the absolute value of the difference between each of their elements must be less than or equal to epsilon.
Public methodStatic memberFirstAxis
Determines the first axis indicator from the provided YawPitchRollIndicator.
Public methodGetHashCode
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIndicator
Composes a YawPitchRollIndicator from three individual AxisIndicator items.
Public methodInvert
Inverts this instance, yielding a new YawPitchRoll sequence.
Public methodStatic memberSecondAxis
Determines the second axis indicator from the provided YawPitchRollIndicator.
Public methodStatic memberThirdAxis
Determines the third axis indicator from the provided YawPitchRollIndicator.
Public methodToString
Returns the value of this set of YawPitchRoll coordinates in the form "first rotation, second rotation, third rotation"
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Returns if the two instances are exactly equal.
Public operatorStatic memberInequality
Returns if the two instances are not exactly equal.
Top
Remarks
To obtain the yaw (heading), pitch (elevation), and roll (bank) orientation of the vehicle body axis relative to a local North-East-Down axes of the vehicle as a series of consecutive elementary rotations, use a 321 EulerSequence.
See Also