CEGUI::UVector2 Class Reference

Two dimensional vector class built using unified dimensions (UDims). The UVector2 class is used for representing both positions and sizes. More...

Collaboration diagram for CEGUI::UVector2:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 UVector2 (const UDim &x, const UDim &y)
Vector2 asAbsolute (const Size &base) const
Vector2 asRelative (const Size &base) const
UVector2 operator+ (const UVector2 &other) const
UVector2 operator- (const UVector2 &other) const
UVector2 operator/ (const UVector2 &other) const
UVector2 operator* (const UVector2 &other) const
const UVector2operator+= (const UVector2 &other)
const UVector2operator-= (const UVector2 &other)
const UVector2operator/= (const UVector2 &other)
const UVector2operator*= (const UVector2 &other)
bool operator== (const UVector2 &other) const
bool operator!= (const UVector2 &other) const

Public Attributes

UDim d_x
UDim d_y


Detailed Description

Two dimensional vector class built using unified dimensions (UDims). The UVector2 class is used for representing both positions and sizes.

Generated on Thu Nov 27 20:34:32 2008 for Crazy Eddies GUI System by  doxygen 1.5.7.1