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...
|
| 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.
|
|
| DirectionByRotationSequence () |
| | Default constructor. Creates an empty list that represents no rotations at all.
|
| | DirectionByRotationSequence (DirectionByRotationSequence rotationSequence) |
| | Copy constructor.
|
| | 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.
|
| 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.
|
| override string | ToString () |
| | Overridden ToString method.
|
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() [1/2]
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 |
| referenceAxis | Axis the rotation sequence shall be applied to. |
◆ DirectionByRotationSequence() [2/2]
| DirectionByRotationSequence |
( |
DirectionByRotationSequence | rotationSequence | ) |
|
Copy constructor.
- Parameters
-
| rotationSequence | Rotation sequence to copy |
◆ Clone()
| override DirectionDefinitionBase Clone |
( |
| ) |
|
Creates a new object that is a copy of the current instance.
- Returns
- A new object that is a copy of this instance.
◆ CorrespondingVector3D()
| override Vector3D CorrespondingVector3D |
( |
| ) |
|
Gets the vector resulting from the implemented direction definition.
- Returns
- The vector resulting from the implemented direction 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 direction of this and the otherObject shall be compared, a comparison of CorrespondingVector3D should be done.
- 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.
◆ ToString()
| override string ToString |
( |
| ) |
|
Overridden ToString method.
- Returns
- A System.String that represents this instance.
◆ 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.