UVWStruct Struct Reference

#include <operatingsystem.h>

Detailed Description

Holds UVW tag variable coordinates data.

See also
UVWTag

Coordinates

Vector a
 
Vector b
 
Vector c
 
Vector d
 

Constructors

 UVWStruct ()
 
 UVWStruct (_DONTCONSTRUCT dc)
 
 UVWStruct (const Vector &t_a, const Vector &t_b, const Vector &t_c, const Vector &t_d)
 
 UVWStruct (const Vector &t_a, const Vector &t_b, const Vector &t_c)
 

Get/Set Coordinates

Vectoroperator[] (Int32 index) const
 

Constructor & Destructor Documentation

◆ UVWStruct() [1/4]

UVWStruct ( )

Default constructor.

◆ UVWStruct() [2/4]

UVWStruct ( _DONTCONSTRUCT  dc)
explicit

Creates an empty UVW variable without constructing the vectors.

Parameters
[in]dcDummy argument. Pass DC.

◆ UVWStruct() [3/4]

UVWStruct ( const Vector t_a,
const Vector t_b,
const Vector t_c,
const Vector t_d 
)

Fills the coordinates for a quadrangle.

Parameters
[in]t_aThe coordinates of the first point.
[in]t_bThe coordinates of the second point.
[in]t_cThe coordinates of the third point.
[in]t_dThe coordinates of the fourth point.

◆ UVWStruct() [4/4]

UVWStruct ( const Vector t_a,
const Vector t_b,
const Vector t_c 
)

Fills the coordinates for a triangle.

Parameters
[in]t_aThe coordinates of the first point.
[in]t_bThe coordinates of the second point.
[in]t_cThe coordinates of the third point.

Member Function Documentation

◆ operator[]()

Vector& operator[] ( Int32  index) const

Gets/sets the UVW coordinate for the point at index.

Parameters
[in]indexThe 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.
Returns
The UVW coordinate.

Member Data Documentation

◆ a

Vector a

The UVW coordinate for the first point.

◆ b

Vector b

The UVW coordinate for the second point.

◆ c

Vector c

The UVW coordinate for the third point.

◆ d

Vector d

The UVW coordinate for the fourth point.