se_core::BoundingSquare Class Reference

#include <BoundingSquare.hpp>

List of all members.

Public Member Functions

 BoundingSquare ()
 Constructor for uninitialised BoundingSquare.
 BoundingSquare (coor_t x, coor_t y, coor_t radius)
 BoundingSquare from BoundingSphere coordinates.
void setNull ()
 Set all bounds to 0.
bool isNull ()
void setMin (coor_t x, coor_t y)
void setMax (coor_t x, coor_t y)
void merge (BoundingSquare &b)
bool hasInside (coor_t x, coor_t y)
bool isTouching (BoundingSquare &b)
coor_t radius ()
coor_t centerX ()
coor_t centerY ()


Constructor & Destructor Documentation

se_core::BoundingSquare::BoundingSquare  )  [inline]
 

Constructor for uninitialised BoundingSquare.

Definition at line 34 of file BoundingSquare.hpp.

se_core::BoundingSquare::BoundingSquare coor_t  x,
coor_t  y,
coor_t  radius
[inline]
 

BoundingSquare from BoundingSphere coordinates.

Definition at line 41 of file BoundingSquare.hpp.


Member Function Documentation

coor_t se_core::BoundingSquare::centerX  )  [inline]
 

Definition at line 108 of file BoundingSquare.hpp.

References coor_t.

coor_t se_core::BoundingSquare::centerY  )  [inline]
 

Definition at line 113 of file BoundingSquare.hpp.

References coor_t.

bool se_core::BoundingSquare::hasInside coor_t  x,
coor_t  y
[inline]
 

Definition at line 89 of file BoundingSquare.hpp.

bool se_core::BoundingSquare::isNull  )  [inline]
 

Returns:
true of the bounds have no extension.

Definition at line 58 of file BoundingSquare.hpp.

bool se_core::BoundingSquare::isTouching BoundingSquare b  )  [inline]
 

Definition at line 94 of file BoundingSquare.hpp.

References maxX_, maxY_, minX_, and minY_.

void se_core::BoundingSquare::merge BoundingSquare b  )  [inline]
 

Definition at line 75 of file BoundingSquare.hpp.

References maxX_, maxY_, minX_, and minY_.

coor_t se_core::BoundingSquare::radius  )  [inline]
 

Definition at line 103 of file BoundingSquare.hpp.

References coor_t.

void se_core::BoundingSquare::setMax coor_t  x,
coor_t  y
[inline]
 

Definition at line 69 of file BoundingSquare.hpp.

void se_core::BoundingSquare::setMin coor_t  x,
coor_t  y
[inline]
 

Definition at line 63 of file BoundingSquare.hpp.

void se_core::BoundingSquare::setNull  )  [inline]
 

Set all bounds to 0.

Definition at line 49 of file BoundingSquare.hpp.


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

Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:30 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo