SUVWStruct Struct Reference

#include <operatingsystem.h>

Detailed Description

Holds UVW tag variable coordinates data.

See also
UVWTag

Coordinates

Vector32 a
 
Vector32 b
 
Vector32 c
 
Vector32 d
 

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)
 

Get/Set Coordinates

Vector32operator[] (Int32 index) const
 

Constructor & Destructor Documentation

◆ SUVWStruct() [1/4]

Default constructor.

◆ SUVWStruct() [2/4]

SUVWStruct ( _DONTCONSTRUCT  dc)
explicit

Creates an empty UVW variable without constructing the vectors.

Parameters
[in]dcDummy argument. Pass DC.

◆ SUVWStruct() [3/4]

SUVWStruct ( const Vector32 t_a,
const Vector32 t_b,
const Vector32 t_c,
const Vector32 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.

◆ SUVWStruct() [4/4]

SUVWStruct ( const Vector32 t_a,
const Vector32 t_b,
const Vector32 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[]()

Vector32& 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

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.