|
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.
Class for describing a sequence of rotations about coordinate axes
More...
Public Member Functions | |
| int | Add (SimpleRotation rotationToAdd) |
| Adds a new rotation to the sequence More... | |
| AxisRotationSequence () | |
| Default constructor. Creates an empty list that represents no rotations at all. | |
| AxisRotationSequence (AxisRotationSequence rotationSequence) | |
| Copy constructor More... | |
| AxisRotationSequence (List< SimpleRotation > rotationList, bool fixedAxes) | |
| Constructor that gets a list of simple rotations (SimpleRotation) and the flag indicating whether the rotation axes are fix. More... | |
| AxisRotationSequence (SimpleRotation[] rotationArray, bool fixedAxes) | |
| Constructor that gets an array of simple rotations (SimpleRotation) and the flag indicating whether the rotation axes are fix. More... | |
| 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... | |
| string[] | GetNamesOfAxes () |
| Gets the names of the axes about which it is rotated in each step. More... | |
| override bool | IsEquivalent (OrientationDefinitionBase orientation) |
| Determines whether another orientation definition is equivalent. More... | |
| override string | ToString () |
| Overridden ToString method. 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 | |
| int | Count [get] |
| Gets the number of rotations | |
| override OrientationDefinitionType | DefinitionType [get] |
| Gets the OrientationDefinitionType associated with the current implementation of IOrientationDefinition | |
| bool | FixedAxes [get, set] |
Gets or sets a flag, indicating whether or not the axes are fix during rotation (if this is not defined by the definition type). If true, the rotations are done about the fix axes of the reference coordinate system. If false, each rotation is done about a non-fix axis of the current coordinate system (yet rotated by previous rotation list members). | |
| override List< SimpleRotation > | ListOfRotations [get] |
| Get the complete list of simple rotations. Set has to be done via RotationSequenceList. | |
| List< SimpleRotation > | RotationSequenceList [get, set] |
| Get or set the complete list of simple rotations | |
| SimpleRotation | this[int index] [get, set] |
| Indexer to get or set the rotation for a certain index More... | |
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.
Class for describing a sequence of rotations about coordinate axes
| AxisRotationSequence | ( | List< SimpleRotation > | rotationList, |
| bool | fixedAxes | ||
| ) |
Constructor that gets a list of simple rotations (SimpleRotation) and the flag indicating whether the rotation axes are fix.
| rotationList | List of simple rotations determining the rotation sequence |
| fixedAxes | That flag indicates whether or not the axes are fix during rotation. If true, the rotations are done about the fix axes of the reference coordinate system. If false, each rotation is done about a non-fix axis of the current coordinate system (yet rotated by previous rotation list members). |
| AxisRotationSequence | ( | SimpleRotation[] | rotationArray, |
| bool | fixedAxes | ||
| ) |
Constructor that gets an array of simple rotations (SimpleRotation) and the flag indicating whether the rotation axes are fix.
| rotationArray | Array of simple rotations determining the rotation sequence |
| fixedAxes | That flag indicates whether or not the axes are fix during rotation. If true, the rotations are done about the fix axes of the reference coordinate system. If false, each rotation is done about a non-fix axis of the current coordinate system (yet rotated by previous rotation list members). |
| AxisRotationSequence | ( | AxisRotationSequence | rotationSequence | ) |
Copy constructor
| rotationSequence | Rotation sequence to copy |
| int Add | ( | SimpleRotation | rotationToAdd | ) |
Adds a new rotation to the sequence
| rotationToAdd | Rotation to be added. |
|
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. | string[] GetNamesOfAxes | ( | ) |
Gets the names of the axes about which it is rotated in each step.
|
virtual |
Determines whether another orientation definition is equivalent.
| orientation | IOrientationDefinition which has to be compared. |
True, if the two objects are equivalent, false otherwise.Reimplemented from OrientationDefinitionBase.
| override string ToString | ( | ) |
Overridden ToString method.
|
getset |
Indexer to get or set the rotation for a certain index
| index | The index of the rotation. |