User Manual, Developers Guide and API Documentation

wns::geometry::Shape2D Class Reference

#include <geometry/Shape2D.hpp>

Inheritance diagram for wns::geometry::Shape2D:

Inheritance graph
[legend]
Collaboration diagram for wns::geometry::Shape2D:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual bool contains (const Point &point) const =0
AABoundingBox getBoundingBox () const
bool intersectsBoundingBoxOf (const Shape2D &other) const
bool operator!= (const Shape2D &other) const
void operator= (const Shape2D &other)
bool operator== (const Shape2D &other) const
virtual ~Shape2D ()

Protected Member Functions

 Shape2D (const Point &a, const Vector &v)
 Shape2D (const Point &a, const Point &b)
 Shape2D ()

Static Protected Member Functions

static Point zeroZ (const Point &p)

Protected Attributes

Point a
Point b
AABoundingBox boundingBox


Detailed Description

Definition at line 36 of file Shape2D.hpp.


Constructor & Destructor Documentation

virtual wns::geometry::Shape2D::~Shape2D (  )  [inline, virtual]

Definition at line 40 of file Shape2D.hpp.

Shape2D::Shape2D (  )  [protected]

Definition at line 33 of file Shape2D.cpp.

Shape2D::Shape2D ( const Point a,
const Point b 
) [protected]

Definition at line 39 of file Shape2D.cpp.

Shape2D::Shape2D ( const Point a,
const Vector v 
) [protected]

Definition at line 46 of file Shape2D.cpp.


Member Function Documentation

virtual bool wns::geometry::Shape2D::contains ( const Point point  )  const [pure virtual]

AABoundingBox wns::geometry::Shape2D::getBoundingBox (  )  const [inline]

Definition at line 42 of file Shape2D.hpp.

bool Shape2D::intersectsBoundingBoxOf ( const Shape2D other  )  const

Definition at line 52 of file Shape2D.cpp.

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

Definition at line 85 of file Shape2D.cpp.

void Shape2D::operator= ( const Shape2D other  ) 

Definition at line 69 of file Shape2D.cpp.

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

Definition at line 77 of file Shape2D.cpp.

Point Shape2D::zeroZ ( const Point p  )  [static, protected]

Definition at line 59 of file Shape2D.cpp.


Member Data Documentation

Definition at line 73 of file Shape2D.hpp.

Definition at line 74 of file Shape2D.hpp.

Definition at line 75 of file Shape2D.hpp.


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

Generated on Sat May 26 03:32:54 2012 for openWNS by  doxygen 1.5.5