|
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 directions by applying a sequence of axis rotations to a starting vector.
More...
Public Member Functions | |
| override DirectionDefinitionBase | Clone () |
| Creates a new object that is a copy of the current instance. More... | |
| override Vector3D | CorrespondingVector3D () |
| Gets the vector resulting from the implemented direction definition. More... | |
| DirectionByRotationSequence () | |
| Default constructor. Creates an empty list that represents no rotations at all. | |
| DirectionByRotationSequence (DirectionByRotationSequence rotationSequence) | |
| Copy constructor More... | |
| DirectionByRotationSequence (List< SimpleRotation > rotationList, AxisDirection referenceAxis=AxisDirection.Z) | |
| Constructor that gets a list of simple rotations (SimpleRotation) and the flag indicating whether the rotation axes are fix. More... | |
| override bool | Equals (object otherObject, EqualityIntent equalityIntent) |
| Determines whether the specified Object is equal to this instance. Please note: If just the resulting direction of this and the otherObject shall be compared, a comparison of CorrespondingVector3D should be done. More... | |
| override string | ToString () |
| Overridden ToString method. More... | |
Properties | |
| int | Count [get] |
| Gets the number of rotations | |
| override DirectionDefinitionType | DefinitionType [get] |
| Gets the DirectionDefinitionType | |
| AxisDirection | ReferenceAxis [get, set] |
| The reference axis the rotation sequence is applied to. | |
| 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... | |
This class is subject to change. Programs using this class may require changes with a new version of VirtualLab.
A class for defining directions by applying a sequence of axis rotations to a starting vector.
| DirectionByRotationSequence | ( | List< SimpleRotation > | rotationList, |
| AxisDirection | referenceAxis = AxisDirection.Z |
||
| ) |
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 |
| referenceAxis | Axis the rotation sequence shall be applied to. |
| DirectionByRotationSequence | ( | DirectionByRotationSequence | rotationSequence | ) |
Copy constructor
| rotationSequence | Rotation sequence to copy |
| override DirectionDefinitionBase Clone | ( | ) |
Creates a new object that is a copy of the current instance.
| override Vector3D CorrespondingVector3D | ( | ) |
Gets the vector resulting from the implemented direction definition.
| override bool Equals | ( | object | otherObject, |
| EqualityIntent | equalityIntent | ||
| ) |
Determines whether the specified Object is equal to this instance. Please note: If just the resulting direction of this and the otherObject shall be compared, a comparison of CorrespondingVector3D should be done.
| 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 | ( | ) |
Overridden ToString method.
|
getset |
Indexer to get or set the rotation for a certain index
| index | The index of the rotation. |