ASDQuaternion A simple fixed size 3D vector.
More...
#include <ASDMath.h>
template<class T>
class XC::ASDVector3< T >
ASDQuaternion A simple fixed size 3D vector.
◆ ASDVector3() [1/3]
Creates a ASDVector3 from its coefficients.
- Parameters
-
x | x coefficient |
y | y coefficient |
z | z coefficient |
◆ ASDVector3() [2/3]
Creates a ASDVector3 from a Vector starting from index.
Note: no check is made on the input data size!
- Parameters
-
v | the vector |
index | the index (optional, default = 0) |
◆ ASDVector3() [3/3]
◆ cross()
Returns the cross product this vector with another vector.
- Parameters
-
- Returns
- the cross product.
◆ dot()
Returns the dot product this vector with another vector.
- Parameters
-
- Returns
- the dot product.
◆ norm()
Returns the norm this vector.
- Returns
- the norm of this vector.
◆ normalize()
makes this vector a unit vector.
- Returns
- the norm of this vector.
◆ operator()() [1/2]
Returns the i-th coefficient of this vector.
- Returns
- the i-th coefficient of this vector.
◆ operator()() [2/2]
Returns the i-th coefficient of this vector.
- Returns
- the i-th coefficient of this vector.
◆ operator=()
◆ operator[]() [1/2]
Returns the i-th coefficient of this vector.
- Returns
- the i-th coefficient of this vector.
◆ operator[]() [2/2]
Returns the i-th coefficient of this vector.
- Returns
- the i-th coefficient of this vector.
◆ squaredNorm()
Returns the squared norm this vector.
- Returns
- the squared norm of this vector.
◆ x()
Returns the X coefficient of this vector.
- Returns
- the X coefficient of this vector.
◆ y()
Returns the Y coefficient of this vector.
- Returns
- the Y coefficient of this vector.
◆ z()
Returns the Z coefficient of this vector.
- Returns
- the Z coefficient of this vector.
The documentation for this class was generated from the following file:
- src/domain/mesh/element/utils/coordTransformation/ASDMath.h