Main Page | Class Hierarchy | Class List | File List | Class Members

Geometry Class Reference

#include <geometry.h>

Inheritance diagram for Geometry:

Box Compound Pyramid Sphere Tetrahedron Triangle Voxel Smooth_Triangle List of all members.

Public Member Functions

virtual bool operator() (const Particle::vector_t &p) const=0
virtual void to_xml (std::ostream &o)=0
virtual ~Geometry ()

Detailed Description

Base class for all geometric objects.

Author:
Moritz Franosch


Constructor & Destructor Documentation

Geometry::~Geometry  )  [virtual]
 

Virtual destructor.


Member Function Documentation

virtual bool Geometry::operator() const Particle::vector_t &  p  )  const [pure virtual]
 

True if position p is inside the object.

Implemented in Box, Compound, Pyramid, Sphere, Tetrahedron, and Triangle.

virtual void Geometry::to_xml std::ostream &  o  )  [pure virtual]
 

Writes the object as XML into o.

Implemented in Box, Compound, Pyramid, Smooth_Triangle, Sphere, Tetrahedron, Triangle, and Voxel.


The documentation for this class was generated from the following files:
Generated on Fri Apr 22 11:06:43 2005 for partsim.kdevelop by doxygen 1.3.6