|
Programming Reference for VirtualLab Fusion
2022.1
|
This class is subject to change. Programs using this class may require changes with a new version of VirtualLab.
A class for defining orientations by Euler angles.
More...
Public Member Functions | |
| override OrientationDefinitionBase | Clone () |
| Creates a new object that is a copy of the current instance. More... | |
| override Quaternion | CorrespondingQuaternion () |
| Gets the quaternion corresponding to this orientation definition. More... | |
| override bool | Equals (object otherObject, EqualityIntent equalityIntent) |
| Determines whether the specified Object is equal to this instance. Please note: If just the resulting orientation of this and the otherObject shall be compared, the method IsEquivalent of the base class should be used. More... | |
| OrientationByEulerAngles () | |
| Default constructor, setting all Euler angles to zero. | |
| OrientationByEulerAngles (double eulerPsi, double eulerTheta, double eulerPhi) | |
| Constructor with three angles to be set as Euler angles. More... | |
| OrientationByEulerAngles (EulerAnglesSet eulerAnglesSet) | |
| Constructor that gets Euler angles as one set. More... | |
| OrientationByEulerAngles (OrientationByEulerAngles orientationToCopy) | |
| Copy constructor More... | |
| override string | ToString () |
| Converts a OrientationByEulerAngles into a string of format (Psi; Theta; Phi). For the creation of the string the default number of digits specified in Globals.DefaultDigitPrecision will be used. More... | |
| string | ToString (int digitPrecision) |
| Converts a OrientationByEulerAngles into a string of format (Psi; Theta; Phi). More... | |
Public Member Functions inherited from OrientationDefinitionBase | |
| abstract OrientationDefinitionBase | Clone () |
| Deep copy of this. More... | |
| abstract Quaternion | CorrespondingQuaternion () |
| Gets the quaternion corresponding to this orientation definition. More... | |
| virtual bool | IsEquivalent (OrientationDefinitionBase orientationDefinitionToCompare) |
| // Gets the rotation matrix corresponding to this orientation definition. // More... | |
| OrientationDefinitionBase () | |
| Default constructor | |
Properties | |
| double | AngleEulerPhi [get, set] |
| Gets or sets the value of the Euler angle phi. | |
| double | AngleEulerPsi [get, set] |
| Gets or sets the value of the Euler angle psi. | |
| double | AngleEulerTheta [get, set] |
| Gets or sets the value of the Euler angle theta. | |
| override OrientationDefinitionType | DefinitionType [get] |
| Gets the OrientationDefinitionType associated with the current implementation of IOrientationDefinition | |
| EulerAnglesSet | EulerAngles [get, set] |
| Gets and sets the Euler angles which define a rotation | |
| override List< SimpleRotation > | ListOfRotations [get] |
| Gets a list of simple rotations, describing the complete rotation as a sequence | |
Properties inherited from OrientationDefinitionBase | |
| abstract OrientationDefinitionType | DefinitionType [get] |
| Gets the OrientationDefinitionType associated with the current implementation of IOrientationDefinition | |
| abstract List< SimpleRotation > | ListOfRotations [get] |
| Gets a list of simple rotations, describing the complete rotation as a sequence | |
Additional Inherited Members | |
Static Public Member Functions inherited from OrientationDefinitionBase | |
| static OrientationDefinitionBase | ConvertOrientationDefinition (OrientationDefinitionBase sourceOrientation, OrientationDefinitionType targetType) |
| Help method which converts any orientation definition object into an equivalent definition object of another type. More... | |
This class is subject to change. Programs using this class may require changes with a new version of VirtualLab.
A class for defining orientations by Euler angles.
| OrientationByEulerAngles | ( | EulerAnglesSet | eulerAnglesSet | ) |
Constructor that gets Euler angles as one set.
| eulerAnglesSet | Set of Euler angles. |
| OrientationByEulerAngles | ( | double | eulerPsi, |
| double | eulerTheta, | ||
| double | eulerPhi | ||
| ) |
Constructor with three angles to be set as Euler angles.
| eulerPsi | Angle between old x-axis and line of nodes |
| eulerTheta | Angle between old and new z-axis |
| eulerPhi | Angle between line of nodes and new x-axis |
| OrientationByEulerAngles | ( | OrientationByEulerAngles | orientationToCopy | ) |
Copy constructor
| orientationToCopy | orientation object to copy |
|
virtual |
Creates a new object that is a copy of the current instance.
Implements OrientationDefinitionBase.
|
virtual |
Gets the quaternion corresponding to this orientation definition.
Implements OrientationDefinitionBase.
| override bool Equals | ( | object | otherObject, |
| EqualityIntent | equalityIntent | ||
| ) |
Determines whether the specified Object is equal to this instance. Please note: If just the resulting orientation of this and the otherObject shall be compared, the method IsEquivalent of the base class should be used.
| otherObject | The Object to compare with this instance. |
| equalityIntent | Defines what kind of equality you want to check when comparing two objects, for example all values or physical equality. |
true if the specified Object is equal to this instance; otherwise, false. | override string ToString | ( | ) |
Converts a OrientationByEulerAngles into a string of format (Psi; Theta; Phi). For the creation of the string the default number of digits specified in Globals.DefaultDigitPrecision will be used.
| string ToString | ( | int | digitPrecision | ) |
Converts a OrientationByEulerAngles into a string of format (Psi; Theta; Phi).
| digitPrecision | number of digits the values are rounded to. |