Programming Reference for VirtualLab Fusion
2025.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 rotation matrix to a starting vector.
More...
Public Member Functions | |
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. | |
DirectionByRotationMatrix () | |
Default constructor. Creates an identity rotation matrix. | |
DirectionByRotationMatrix (DirectionByRotationMatrix oMatrix) | |
Copy constructor. | |
DirectionByRotationMatrix (Matrix3x3D rotationMatrix, AxisDirection referenceAxis=AxisDirection.Z) | |
Constructor which gets a rotation matrix. | |
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. | |
Properties | |
override DirectionDefinitionType | DefinitionType [get] |
Gets the DirectionDefinitionType. | |
AxisDirection | ReferenceAxis [get, set] |
The reference axis the matrix is applied to. | |
Matrix3x3D | RotationMatrix [get, set] |
The 3x3-matrix which defines the rotation. | |
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 rotation matrix to a starting vector.
DirectionByRotationMatrix | ( | Matrix3x3D | rotationMatrix, |
AxisDirection | referenceAxis = AxisDirection::Z |
||
) |
Constructor which gets a rotation matrix.
rotationMatrix | Rotation matrix which describes the orientation. |
referenceAxis | Axis the matrix shall be applied on. |
Copy constructor.
oMatrix | Object to be copied. |
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.