doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
idRegion Class Reference

#include <Rectangle.h>

Public Member Functions

 idRegion ()
 
void Empty ()
 
bool Contains (float xt, float yt)
 
void AddRect (float x, float y, float w, float h)
 
int GetRectCount ()
 
idRectangle * GetRect (int index)
 

Protected Attributes

idList< idRectangle > rects
 

Detailed Description

Definition at line 183 of file Rectangle.h.

Constructor & Destructor Documentation

idRegion::idRegion ( )
inline

Definition at line 185 of file Rectangle.h.

Member Function Documentation

void idRegion::AddRect ( float  x,
float  y,
float  w,
float  h 
)
inline

Definition at line 201 of file Rectangle.h.

bool idRegion::Contains ( float  xt,
float  yt 
)
inline

Definition at line 191 of file Rectangle.h.

void idRegion::Empty ( void  )
inline

Definition at line 187 of file Rectangle.h.

idRectangle* idRegion::GetRect ( int  index)
inline

Definition at line 209 of file Rectangle.h.

int idRegion::GetRectCount ( )
inline

Definition at line 205 of file Rectangle.h.

Member Data Documentation

idList<idRectangle> idRegion::rects
protected

Definition at line 218 of file Rectangle.h.


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