#include <Shape.hpp>
Constructor & Destructor Documentation
virtual Shape::~Shape |
( |
| ) |
|
|
inlinevirtual |
The destructor cannot be pure virtual.
With inheritance, a destructor must call the destructor of its parent. If the destructor is decleared pure virtual, the linker looks for a destructor that does not exist.
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2577
Member Function Documentation
virtual Shape* Shape::clone |
( |
| ) |
const |
|
pure virtual |
virtual std::vector<std::vector<unsigned> > Shape::getCoordinateIndex |
( |
const Grid & |
grid | ) |
const |
|
pure virtual |
virtual double Shape::getLargestLength |
( |
| ) |
const |
|
pure virtual |
Get the [min(y) min(z)] corner of the rectangle.
- Returns
- the cartesian coordinate the conner.
Implemented in Polygon, Rectangle, and Circle.
virtual unsigned Shape::getType |
( |
| ) |
const |
|
pure virtual |
Get the [max(y) max(z)] corner of the rectangle.
- Returns
- the cartesian coordinate the conner.
Implemented in Polygon, Rectangle, and Circle.
virtual double Shape::getXLength |
( |
| ) |
const |
|
pure virtual |
virtual double Shape::getYLength |
( |
| ) |
const |
|
pure virtual |
virtual double Shape::getZLength |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: