Constructors |
|
| UVWStruct () | |
| UVWStruct ( _DONTCONSTRUCT dc) | |
| UVWStruct (const 向量 &t_a, const 向量 &t_b, const 向量 &t_c, const 向量 &t_d) | |
| UVWStruct (const 向量 &t_a, const 向量 &t_b, const 向量 &t_c) | |
坐标 |
|
| 向量 | a |
| 向量 | b |
| 向量 | c |
| 向量 | d |
Get/Set Coordinates |
|
| 向量 & | operator[] ( Int32 index) const |
| UVWStruct | ( | ) |
Default constructor.
|
explicit |
Creates an empty UVW variable without constructing the vectors.
| [in] | dc | Dummy argument. Pass DC. |
| UVWStruct | ( | const 向量 & | t_a , |
| const 向量 & | t_b , | ||
| const 向量 & | t_c , | ||
| const 向量 & | 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. |
| UVWStruct | ( | const 向量 & | t_a , |
| const 向量 & | t_b , | ||
| const 向量 & | 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. |
| 向量 & 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. |
| 向量 a |
The UVW coordinate for the first point.
| 向量 b |
The UVW coordinate for the second point.
| 向量 c |
The UVW coordinate for the third point.
| 向量 d |
The UVW coordinate for the fourth point.