#include "UT_API.h"#include <math.h>#include <limits.h>#include <iostream.h>#include "UT_Assert.h"#include "UT_Math.h"#include <vector>#include "UT_Vector3.h"Go to the source code of this file.
| UT_API UT_Vector4 colVecMult | ( | const UT_DMatrix4 & | m, | |
| const UT_Vector4 & | v | |||
| ) |
Multiplication of a row or column vector by a matrix (ie. right vs. left multiplication respectively). The operator*() declared above is an alias for rowVecMult().
| UT_API UT_Vector4 colVecMult | ( | const UT_Matrix4 & | m, | |
| const UT_Vector4 & | v | |||
| ) |
Multiplication of a row or column vector by a matrix (ie. right vs. left multiplication respectively). The operator*() declared above is an alias for rowVecMult().
| UT_API UT_Vector4 colVecMult3 | ( | const UT_DMatrix4 & | m, | |
| const UT_Vector4 & | v | |||
| ) |
Multiplication of a row or column vector by a matrix (ie. right vs. left multiplication respectively). The operator*() declared above is an alias for rowVecMult().
| UT_API UT_Vector4 colVecMult3 | ( | const UT_Matrix4 & | m, | |
| const UT_Vector4 & | v | |||
| ) |
Multiplication of a row or column vector by a matrix (ie. right vs. left multiplication respectively). The operator*() declared above is an alias for rowVecMult().
| UT_API UT_Vector3 cross | ( | const UT_Vector4 & | v1, | |
| const UT_Vector4 & | v2 | |||
| ) |
Although the cross product is undefined for 4D vectors, we believe it's useful in practice to define a function that takes two 4D vectors and computes the cross-product of their first 3 components
| fpreal distance | ( | const UT_Vector4 & | v1, | |
| const UT_Vector4 & | v2 | |||
| ) | [inline] |
Definition at line 601 of file UT_Vector4.h.
| fpreal distance3 | ( | const UT_Vector4 & | p1, | |
| const UT_Vector4 & | p2 | |||
| ) | [inline] |
| fpreal distance4 | ( | const UT_Vector4 & | p1, | |
| const UT_Vector4 & | p2 | |||
| ) | [inline] |
Compute the distance between two points.
| fpreal dot | ( | const UT_Vector3 & | v1, | |
| const UT_Vector4 & | v2 | |||
| ) | [inline] |
| fpreal dot | ( | const UT_Vector4 & | v1, | |
| const UT_Vector3 & | v2 | |||
| ) | [inline] |
| fpreal dot | ( | const UT_Vector4 & | v1, | |
| const UT_Vector4 & | v2 | |||
| ) | [inline] |
| UT_Vector4 operator* | ( | const UT_Vector4 & | v1, | |
| const UT_Vector4 & | v2 | |||
| ) | [inline] |
Definition at line 538 of file UT_Vector4.h.
| UT_Vector4 operator* | ( | fpreal | scalar, | |
| const UT_Vector4 & | v | |||
| ) | [inline] |
Definition at line 568 of file UT_Vector4.h.
| UT_Vector4 operator* | ( | const UT_Vector4 & | v, | |
| fpreal | scalar | |||
| ) | [inline] |
Definition at line 564 of file UT_Vector4.h.
| UT_Vector4 operator* | ( | const UT_Vector4 & | v, | |
| const UT_DMatrix4 & | m | |||
| ) | [inline] |
Definition at line 597 of file UT_Vector4.h.
| UT_Vector4 operator* | ( | const UT_Vector4 & | v, | |
| const UT_Matrix4 & | m | |||
| ) | [inline] |
Definition at line 593 of file UT_Vector4.h.
| UT_Vector4 operator+ | ( | fpreal | scalar, | |
| const UT_Vector4 & | v | |||
| ) | [inline] |
Definition at line 552 of file UT_Vector4.h.
| UT_Vector4 operator+ | ( | const UT_Vector4 & | v, | |
| fpreal | scalar | |||
| ) | [inline] |
Definition at line 548 of file UT_Vector4.h.
| UT_Vector4 operator+ | ( | const UT_Vector4 & | v1, | |
| const UT_Vector4 & | v2 | |||
| ) | [inline] |
Definition at line 528 of file UT_Vector4.h.
| UT_Vector4 operator- | ( | fpreal | scalar, | |
| const UT_Vector4 & | v | |||
| ) | [inline] |
Definition at line 560 of file UT_Vector4.h.
| UT_Vector4 operator- | ( | const UT_Vector4 & | v, | |
| fpreal | scalar | |||
| ) | [inline] |
Definition at line 556 of file UT_Vector4.h.
| UT_Vector4 operator- | ( | const UT_Vector4 & | v1, | |
| const UT_Vector4 & | v2 | |||
| ) | [inline] |
Definition at line 533 of file UT_Vector4.h.
| UT_Vector4 operator/ | ( | const UT_Vector4 & | v1, | |
| const UT_Vector4 & | v2 | |||
| ) | [inline] |
Definition at line 543 of file UT_Vector4.h.
| UT_Vector4 operator/ | ( | fpreal | scalar, | |
| const UT_Vector4 & | v | |||
| ) | [inline] |
Definition at line 576 of file UT_Vector4.h.
| UT_Vector4 operator/ | ( | const UT_Vector4 & | v, | |
| fpreal | scalar | |||
| ) | [inline] |
Definition at line 572 of file UT_Vector4.h.
| UT_API UT_Vector4 rowVecMult | ( | const UT_Vector4 & | v, | |
| const UT_DMatrix4 & | m | |||
| ) |
Multiplication of a row or column vector by a matrix (ie. right vs. left multiplication respectively). The operator*() declared above is an alias for rowVecMult().
| UT_API UT_Vector4 rowVecMult | ( | const UT_Vector4 & | v, | |
| const UT_Matrix4 & | m | |||
| ) |
Multiplication of a row or column vector by a matrix (ie. right vs. left multiplication respectively). The operator*() declared above is an alias for rowVecMult().
| UT_API UT_Vector4 rowVecMult3 | ( | const UT_Vector4 & | v, | |
| const UT_DMatrix4 & | m | |||
| ) |
Multiplication of a row or column vector by a matrix (ie. right vs. left multiplication respectively). The operator*() declared above is an alias for rowVecMult().
| UT_API UT_Vector4 rowVecMult3 | ( | const UT_Vector4 & | v, | |
| const UT_Matrix4 & | m | |||
| ) |
Multiplication of a row or column vector by a matrix (ie. right vs. left multiplication respectively). The operator*() declared above is an alias for rowVecMult().
1.5.9