...
Template class that describes a 3D vector.
Inherited by
Anchor | ||||
---|---|---|---|---|
|
Typedefs
...
Name | Description |
---|---|
Cvector3DT | Class constructor. |
x, u, r | Gets the 1st element (only Python). |
y, g, v | Gets the 2nd element (only Python). |
z, b, w | Gets the 3rd element (only Python). |
[] | Gets the vector element by index [0-2] (only Python). |
isNull | Checks all elements are zero. |
setZero | Sets all elements to zero. |
getSummatory | Returns X+Y+Z. |
director | Director vector. |
assign | Initializes vector values. |
operator < | |
operator > | |
operator == | |
isEqual | |
absolute | Sets all values to its absolute value. |
negate | Negates all values (vec.x = -vec.x ... ). |
operator + | |
operator += | |
add | |
operator - | |
operator -= | |
substract | |
operator * | |
operator *= | |
scale | |
scaleAdd | |
scaleSubstract | |
midPoint | |
product | |
invert | |
dot | |
cross | |
norm | |
squareNorm | |
normalize |
...