#include <pyramid.h>
Inheritance diagram for Pyramid:
Public Member Functions | |
Pyramid (const Particle::vector_t &top, const Particle::vector_t &c1, const Particle::vector_t &c2, const Particle::vector_t &c3, const Particle::vector_t &c4) | |
virtual bool | operator() (const Particle::vector_t &p) const |
virtual void | to_xml (std::ostream &o) |
|
Constructs a pyramid with top and a base surface with edges c1, c2, c3 and c4. |
|
True if position p is inside the object. Implements Geometry. |
|
Writes the pyramid as XML into o. Implements Geometry. |