#include <geometricProperties.h>
Inheritance diagram for BoundingBoxProcessor:
Public Member Functions | |
Processor related methods. | |
virtual bool | start () throw () |
start method | |
virtual bool | finish () throw () |
finish method | |
virtual Processor::Result | operator() (Atom &atom) throw () |
operator () | |
virtual Processor::Result | operator() (const Vector3 &v) throw () |
Accessors | |
SimpleBox3 | getBox () const throw () |
Return the bounding box. | |
const Vector3 & | getLower () const throw () |
Returns the lower corner of the bounding box. | |
const Vector3 & | getUpper () const throw () |
Returns the upper corner of the bounding box. |
This class iterates over all atoms of a given molecular object and determines the lowest and the highest coordinates occuring. It returns two coordinates ( getLower , getUpper ) describing the smallest cuboid (whose sides are parallel to the planes defined by the corrdinate axes) enclosing all atoms of the molecular object.