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...
|
| 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.
|
| |
| 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.
|
| |
| Quaternion | CorrespondingQuaternion () |
| | Gets the quaternion corresponding to this orientation definition.
|
| |
|
| OrientationDefinitionBase () |
| | Default constructor.
|
| |
|
| 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.
|
| |
|
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] |
| |
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() [1/3]
Constructor that gets a list of simple rotations (SimpleRotation) and the flag indicating whether the rotation axes are fix.
- Parameters
-
| 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() [2/3]
Constructor that gets an array of simple rotations (SimpleRotation) and the flag indicating whether the rotation axes are fix.
- Parameters
-
| 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() [3/3]
Copy constructor.
- Parameters
-
| rotationSequence | Rotation sequence to copy |
◆ Add()
Adds a new rotation to the sequence.
- Parameters
-
| rotationToAdd | Rotation to be added. |
- Returns
- Index of the newly added rotation
◆ Clone()
| override object Clone |
( |
| ) |
|
Creates a new object that is a copy of the current instance.
- Returns
- A new object that is a copy of this instance.
◆ CorrespondingQuaternion()
| override Quaternion CorrespondingQuaternion |
( |
| ) |
|
Gets the quaternion corresponding to this orientation definition.
- Returns
- The quaternion corresponding to this orientation definition.
◆ Equals()
| 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.
- Parameters
-
| 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. |
- Returns
true if the specified Object is equal to this instance; otherwise, false.
◆ GetNamesOfAxes()
| string[] GetNamesOfAxes |
( |
bool |
useSmallGreekLetters = false | ) |
|
Gets the names of the axes about which it is rotated in each step.
- Parameters
-
| useSmallGreekLetters | If this optional parameter is set to true, "ξ", "η", and "ζ" are used for the axis labels instead of "X", "Y", and "Z", respectively. |
- Returns
- "X", "Y", or "Z" for each step; appended with the correct number of apostrophes if not in fixes axes mode.
◆ IsEquivalent()
Determines whether another orientation definition is equivalent.
- Parameters
-
| orientation | IOrientationDefinition which has to be compared. |
- Returns
True, if the two objects are equivalent, false otherwise.
Reimplemented from OrientationDefinitionBase.
◆ ToString()
| override string ToString |
( |
| ) |
|
Overridden ToString method.
- Returns
- A System.String that represents this instance.
◆ AxisRotations_ForParameterRun
| double [] AxisRotations_ForParameterRun |
|
getset |
Gets and sets the rotation angles that make up an Axis Rotation Sequence. For Parameter Run only!
◆ this[int index]
Indexer to get or set the rotation for a certain index.
- Parameters
-
| index | The index of the rotation. |
- Returns
- The rotation with the given index.