|
BALL
1.4.79
|
#include <BALL/STRUCTURE/geometricProperties.h>
Public Member Functions | |
Processor related methods. | |
| virtual bool | start () |
| virtual bool | finish () |
| virtual Processor::Result | operator() (const Atom &atom) |
| virtual Processor::Result | operator() (const Vector3 &v) |
Accessors | |
| SimpleBox3 | getBox () const |
| const Vector3 & | getLower () const |
| const Vector3 & | getUpper () const |
Public Member Functions inherited from BALL::ConstUnaryProcessor< Atom > | |
| virtual | ~ConstUnaryProcessor () |
Additional Inherited Members | |
Public Types inherited from BALL::UnaryFunctor< Atom, Processor::Result > | |
| typedef Processor::Result | result_type |
| typedef Atom | argument_type |
| typedef Atom & | argument_reference |
| typedef const Atom & | const_argument_reference |
| typedef Atom * | argument_pointer |
| typedef const Atom * | const_argument_pointer |
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.
Definition at line 56 of file geometricProperties.h.
|
virtual |
Checks if bounding box has been calculated.
Reimplemented from BALL::ConstUnaryProcessor< Atom >.
| SimpleBox3 BALL::BoundingBoxProcessor::getBox | ( | ) | const |
Return the bounding box
| const Vector3& BALL::BoundingBoxProcessor::getLower | ( | ) | const |
Returns the lower corner of the bounding box
| const Vector3& BALL::BoundingBoxProcessor::getUpper | ( | ) | const |
Returns the upper corner of the bounding box
|
inlinevirtual |
Contributes the coordinates of provided Atom to the bounding box. The function internally calls the more generic operator() with Three-dimensional vector. argument derived from atom position.
Reimplemented from BALL::ConstUnaryProcessor< Atom >.
Definition at line 89 of file geometricProperties.h.
|
virtual |
Contributes coordinates of Three-dimensional vector. argument to the bounding box.
|
virtual |
Initialize the processor. Resets lower and upper vectors to lower and upper numeric float limits.
Reimplemented from BALL::ConstUnaryProcessor< Atom >.
1.8.7