UVWStruct Struct Reference

#include <operatingsystem.h>

详细描述

Holds UVW tag variable coordinates data.

另请参阅
UVWTag

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() [1/4]

UVWStruct ( )

Default constructor.

◆  UVWStruct() [2/4]

UVWStruct ( _DONTCONSTRUCT   dc )
explicit

Creates an empty UVW variable without constructing the vectors.

参数
[in] dc Dummy argument. Pass DC.

◆  UVWStruct() [3/4]

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() [4/4]

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[]()

向量 & 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.
返回
The UVW coordinate.

Member Data Documentation

◆  a

向量 a

The UVW coordinate for the first point.

◆  b

向量 b

The UVW coordinate for the second point.

◆  c

向量 c

The UVW coordinate for the third point.

◆  d

向量 d

The UVW coordinate for the fourth point.