![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <geometry/Shape2D.hpp>


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 |
Definition at line 36 of file Shape2D.hpp.
| 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.
Definition at line 39 of file Shape2D.cpp.
Definition at line 46 of file Shape2D.cpp.
Implemented in wns::geometry::AxisParallelRectangle, and wns::geometry::LineSegment.
| AABoundingBox wns::geometry::Shape2D::getBoundingBox | ( | ) | const [inline] |
Definition at line 42 of file Shape2D.hpp.
Definition at line 52 of file Shape2D.cpp.
Definition at line 85 of file Shape2D.cpp.
| void Shape2D::operator= | ( | const Shape2D & | other | ) |
Definition at line 69 of file Shape2D.cpp.
Definition at line 77 of file Shape2D.cpp.
Definition at line 59 of file Shape2D.cpp.
Point wns::geometry::Shape2D::a [protected] |
Definition at line 73 of file Shape2D.hpp.
Point wns::geometry::Shape2D::b [protected] |
Definition at line 74 of file Shape2D.hpp.
AABoundingBox wns::geometry::Shape2D::boundingBox [protected] |
Definition at line 75 of file Shape2D.hpp.
1.5.5