Public Member Functions | Public Attributes
CUV Struct Reference

Detailed Description

This structure represents a UV coordinate.

CUV can be created from Triangle and TriangleVertex objects.

See also:
CUVArray, TriangleVertex::GetUV

#include <xsi_uv.h>

List of all members.

Public Member Functions

 CUV ()
 CUV (const CUV &in_uv)
 CUV (double in_u, double in_v)
bool operator== (const CUV &in_uv) const
bool operator!= (const CUV &in_uv) const

Public Attributes

double u
double v

Constructor & Destructor Documentation

CUV ( ) [inline]

Default constructor.

CUV ( const CUV in_uv) [inline]

Copy constructor.

Parameters:
in_uvConstant CUV object.
CUV ( double  in_u,
double  in_v 
) [inline]

Constructor. Creates a CUV object from uv values.

Parameters:
in_uU coordinate value.
in_vV coordinate value.

Member Function Documentation

bool operator== ( const CUV in_uv) const [inline]

Equality operator.

Parameters:
in_uvCUV to compare with.
Returns:
true if they are equal; false if they are not equal.
bool operator!= ( const CUV in_uv) const [inline]

Inequality operator.

Parameters:
in_uvCUV to compare with.
Returns:
true if they are not equal; false if they are equal.

Member Data Documentation

double u

U coordinate value

double v

V coordinate value


The documentation for this struct was generated from the following file: