BALL::BoundingBoxProcessor Class Reference
[Geometric property processors.]

Bounding box creating processor. More...

#include <geometricProperties.h>

Inheritance diagram for BALL::BoundingBoxProcessor:
Inheritance graph
[legend]

List of all members.


Public Member Functions

Processor related methods.
virtual bool start ()
start method
virtual bool finish ()
finish method
virtual Processor::Result operator() (Atom &atom)
operator ()
virtual Processor::Result operator() (const Vector3 &v)
Accessors
SimpleBox3 getBox () const
Return the bounding box.
const Vector3 & getLower () const
Returns the lower corner of the bounding box.
const Vector3 & getUpper () const
Returns the upper corner of the bounding box.

Detailed Description

Bounding box creating processor.

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.

This processor is useful to determine the extent of a molecular object if you want to define a THashGrid or alike objects.
The coordinates returned by getLower and getUpper are only valid, if the processor has been applied to a molecular object containing atoms.

Generated on Thu Aug 6 18:30:46 2009 for BALL by doxygen 1.5.8