THuiRealPoint Class Reference

class THuiRealPoint

Point composed of two floating-point components.

Constructor & Destructor Documentation

THuiRealPoint()

THuiRealPoint ( ) [inline]

THuiRealPoint(TReal32, TReal32)

THuiRealPoint ( TReal32 aX,
TReal32 aY
) [inline]

Parameters

TReal32 aX
TReal32 aY

THuiRealPoint(const TPoint &)

THuiRealPoint ( const TPoint & aPoint ) [inline]

Parameters

const TPoint & aPoint

Member Functions Documentation

Abs()

THuiRealPoint Abs ( ) const [inline]

AsSize()

THuiRealSize AsSize ( ) const [inline]

Round()

TPoint Round ( ) const [inline]

operator TPoint()

operator TPoint ( ) const [inline]

operator*(TReal32)

THuiRealPoint operator* ( TReal32 aFactor ) const [inline]

Parameters

TReal32 aFactor

operator+(const THuiRealPoint &)

THuiRealPoint operator+ ( const THuiRealPoint & aOther ) const [inline]

Parameters

const THuiRealPoint & aOther

operator+=(const THuiRealPoint &)

THuiRealPoint & operator+= ( const THuiRealPoint & aOther ) [inline]

Parameters

const THuiRealPoint & aOther

operator-()

THuiRealPoint operator- ( ) const [inline]

operator-(const THuiRealPoint &)

THuiRealPoint operator- ( const THuiRealPoint & aOther ) const [inline]

Parameters

const THuiRealPoint & aOther

operator-=(const THuiRealPoint &)

THuiRealPoint & operator-= ( const THuiRealPoint & aOther ) [inline]

Parameters

const THuiRealPoint & aOther

Member Data Documentation

TReal32 iX

TReal32 iX

X coordinate.

TReal32 iY

TReal32 iY

Y coordinate.