User Manual, Developers Guide and API Documentation

wns::geometry::AABoundingBox Class Reference

#include <geometry/AABoundingBox.hpp>

Collaboration diagram for wns::geometry::AABoundingBox:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 AABoundingBox (const Point &a, const Point &b)
 AABoundingBox ()
bool contains (const AABoundingBox other) const
bool contains (const Point &other) const
Point getA () const
Point getB () const
double getMaxX ()
double getMaxY ()
double getMinX ()
double getMinY ()
bool intersects (const AABoundingBox &other) const
bool operator!= (const AABoundingBox &other) const
void operator= (const AABoundingBox &other)
bool operator== (const AABoundingBox &other) const
 ~AABoundingBox ()

Private Attributes

Point a
Point b

Friends

class AxisParallelRectangle
class Shape2D


Detailed Description

Definition at line 37 of file AABoundingBox.hpp.


Constructor & Destructor Documentation

AABoundingBox::AABoundingBox (  ) 

Definition at line 32 of file AABoundingBox.cpp.

AABoundingBox::AABoundingBox ( const Point a,
const Point b 
)

Definition at line 37 of file AABoundingBox.cpp.

AABoundingBox::~AABoundingBox (  ) 

Todo:
: minX, minY, minY, maxY aus allen Points

Definition at line 50 of file AABoundingBox.cpp.


Member Function Documentation

bool AABoundingBox::contains ( const AABoundingBox  other  )  const

Definition at line 87 of file AABoundingBox.cpp.

bool AABoundingBox::contains ( const Point other  )  const

Definition at line 72 of file AABoundingBox.cpp.

Point wns::geometry::AABoundingBox::getA (  )  const [inline]

Definition at line 58 of file AABoundingBox.hpp.

Point wns::geometry::AABoundingBox::getB (  )  const [inline]

Definition at line 61 of file AABoundingBox.hpp.

double wns::geometry::AABoundingBox::getMaxX (  )  [inline]

Definition at line 67 of file AABoundingBox.hpp.

double wns::geometry::AABoundingBox::getMaxY (  )  [inline]

Definition at line 73 of file AABoundingBox.hpp.

double wns::geometry::AABoundingBox::getMinX (  )  [inline]

Definition at line 64 of file AABoundingBox.hpp.

double wns::geometry::AABoundingBox::getMinY (  )  [inline]

Definition at line 70 of file AABoundingBox.hpp.

bool AABoundingBox::intersects ( const AABoundingBox other  )  const

Definition at line 55 of file AABoundingBox.cpp.

bool AABoundingBox::operator!= ( const AABoundingBox other  )  const

Definition at line 124 of file AABoundingBox.cpp.

void AABoundingBox::operator= ( const AABoundingBox other  ) 

Definition at line 108 of file AABoundingBox.cpp.

bool AABoundingBox::operator== ( const AABoundingBox other  )  const

Definition at line 115 of file AABoundingBox.cpp.


Friends And Related Function Documentation

friend class AxisParallelRectangle [friend]

Definition at line 40 of file AABoundingBox.hpp.

friend class Shape2D [friend]

Definition at line 39 of file AABoundingBox.hpp.


Member Data Documentation

Definition at line 85 of file AABoundingBox.hpp.

Definition at line 86 of file AABoundingBox.hpp.


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

Generated on Fri Feb 10 03:33:52 2012 for openWNS by  doxygen 1.5.5