CUV Struct Reference
 
 
 
CUV Struct Reference

#include <xsi_uv.h>


Class Description

This structure represents a UV coordinate.

CUV can be created from Triangle and TriangleVertex objects.

See also:
CUVArray, TriangleVertex::GetUV

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_uv Constant CUV object.
CUV ( double  in_u,
double  in_v 
) [inline]

Constructor. Creates a CUV object from uv values.

Parameters:
in_u U coordinate value.
in_v V coordinate value.

Member Function Documentation

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

Equality operator.

Parameters:
in_uv CUV 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_uv CUV 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: