sgxRect Class Reference

#include <geometry.hpp>

List of all members.

Public Member Functions

 sgxRect ()
 sgxRect (tUINT32 l, tUINT32 t, tUINT32 r, tUINT32 b)
tBOOL isInside (const sgxPoint &pt)
tBOOL isInside (const sgxVector2 &pt)
tBOOL intersects (const sgxVector2 &fromPoint, const sgxVector2 &toPoint)

Public Attributes

tUINT32 left
tUINT32 right
tUINT32 top
tUINT32 bottom


Constructor & Destructor Documentation

sgxRect::sgxRect (  )  [inline]

sgxRect::sgxRect ( tUINT32  l,
tUINT32  t,
tUINT32  r,
tUINT32  b 
) [inline]


Member Function Documentation

tBOOL sgxRect::isInside ( const sgxPoint pt  )  [inline]

tBOOL sgxRect::isInside ( const sgxVector2 pt  )  [inline]

tBOOL sgxRect::intersects ( const sgxVector2 fromPoint,
const sgxVector2 toPoint 
) [inline]


Member Data Documentation

tUINT32 sgxRect::left

tUINT32 sgxRect::right

tUINT32 sgxRect::top

tUINT32 sgxRect::bottom


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

Generated on Thu Aug 14 14:36:38 2008 for The SGX Core by  doxygen 1.5.6