|
Programming Reference for VirtualLab Fusion
2026.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. | |
| AxisRotationSequence () | |
| Default constructor. Creates an empty list that represents no rotations at all. | |
| AxisRotationSequence (AxisRotationSequence rotationSequence) | |
| Copy constructor. | |
| 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. | |
| AxisRotationSequence (SimpleRotation[] rotationArray, bool fixedAxes) | |
| Constructor that gets an array of simple rotations (SimpleRotation) and the flag indicating whether the rotation axes are fix. | |
| override object | Clone () |
| Creates a new object that is a copy of the current instance. | |
| override Quaternion | CorrespondingQuaternion () |
| Gets the quaternion corresponding to this orientation definition. | |
| 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. | |
| override int | GetHashCode () |
| string[] | GetNamesOfAxes (bool useSmallGreekLetters=false) |
| Gets the names of the axes about which it is rotated in each step. | |
| override bool | IsEquivalent (OrientationDefinitionBase orientation) |
| Determines whether another orientation definition is equivalent. | |
| override string | ToString () |
| Overridden ToString method. | |
Public Member Functions inherited from OrientationDefinitionBase | |
| Quaternion | CorrespondingQuaternion () |
| Gets the quaternion corresponding to this orientation definition. | |
| OrientationDefinitionBase () | |
| Default constructor. | |
Properties | |
| double[] | AxisRotations_ForParameterRun [get, set] |
| Gets and sets the rotation angles that make up an Axis Rotation Sequence. For Parameter Run only! | |
| 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. | |
| override List< Parameter > | ParameterRunParameters [get] |
| 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. | |
Properties inherited from OrientationDefinitionBase | |
| OrientationDefinitionType | DefinitionType [get] |
| Gets the OrientationDefinitionType associated with the current implementation of IOrientationDefinition. | |
| List< SimpleRotation > | ListOfRotations [get] |
| Gets a list of simple rotations, describing the complete rotation as a sequence. | |
| virtual List< Parameter > | ParameterRunParameters [get] |
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. | |
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. |
| override object Clone | ( | ) |
Creates a new object that is a copy of the current instance.
| override Quaternion CorrespondingQuaternion | ( | ) |
Gets the quaternion corresponding to this orientation definition.
| 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 | ( | bool | useSmallGreekLetters = false | ) |
Gets the names of the axes about which it is rotated in each step.
| useSmallGreekLetters | If this optional parameter is set to true, "ξ", "η", and "ζ" are used for the axis labels instead of "X", "Y", and "Z", respectively. |
|
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. |