This is a helper function to make a orthogonal normed right-hand coordinate system from an input vector.
More...
This is a helper function to make a orthogonal normed right-hand coordinate system from an input vector.
bool ApproxMVBB::CoordinateSystem::checkOrthogonality |
( |
Vector3 & |
v1, |
|
|
Vector3 & |
v2, |
|
|
Vector3 & |
v3, |
|
|
PREC |
eps = 1e-6 |
|
) |
| |
|
inline |
void ApproxMVBB::CoordinateSystem::makeCoordinateSystem |
( |
Vector3 & |
v1, |
|
|
Vector3 & |
v2, |
|
|
Vector3 & |
v3 |
|
) |
| |
|
inline |
This function makes an orthogonal normed right-hand coordinate system. If the z-axis is the input, then v1 is the x-axis and v2 the y-axis.
- Parameters
-
v1 | The input 3x1 vector. |
v2 | The first orthogonal output 3x1 vector. |
v2 | The second orthogonal output 3x1 vector. |
Definition at line 35 of file MakeCoordinateSystem.hpp.
void ApproxMVBB::CoordinateSystem::makeZAxisUp |
( |
Matrix33 & |
A_IK | ) |
|
|
inline |