Constructors |
|
SUVWStruct () | |
SUVWStruct ( _DONTCONSTRUCT dc) | |
SUVWStruct (const Vector32 &t_a, const Vector32 &t_b, const Vector32 &t_c, const Vector32 &t_d) | |
SUVWStruct (const Vector32 &t_a, const Vector32 &t_b, const Vector32 &t_c) |
坐标 |
|
Vector32 | a |
Vector32 | b |
Vector32 | c |
Vector32 | d |
Get/Set Coordinates |
|
Vector32 & | operator[] ( Int32 index) const |
SUVWStruct | ( | ) |
Default constructor.
|
explicit |
Creates an empty UVW variable without constructing the vectors.
[in] | dc | Dummy argument. Pass DC. |
SUVWStruct | ( | const Vector32 & | t_a , |
const Vector32 & | t_b , | ||
const Vector32 & | t_c , | ||
const Vector32 & | t_d | ||
) |
Fills the coordinates for a quadrangle.
[in] | t_a | The coordinates of the first point. |
[in] | t_b | The coordinates of the second point. |
[in] | t_c | The coordinates of the third point. |
[in] | t_d | The coordinates of the fourth point. |
SUVWStruct | ( | const Vector32 & | t_a , |
const Vector32 & | t_b , | ||
const Vector32 & | t_c | ||
) |
Fills the coordinates for a triangle.
[in] | t_a | The coordinates of the first point. |
[in] | t_b | The coordinates of the second point. |
[in] | t_c | The coordinates of the third point. |
Vector32 & operator[] | ( | Int32 | index | ) | const |
Gets/sets the UVW coordinate for the point at index .
[in] | index |
The point index.
0
<=
index
< 3.
0 returns a , 1 returns b , 2 returns c and 3 returns d. Any other value must not be used and will crash. |
Vector32 a |
The UVW coordinate for the first point.
Vector32 b |
The UVW coordinate for the second point.
Vector32 c |
The UVW coordinate for the third point.
Vector32 d |
The UVW coordinate for the fourth point.