#include <BALL/STRUCTURE/geometricProperties.h>
Public Member Functions | |
Processor related methods | |
virtual bool | start () |
virtual bool | finish () |
virtual Processor::Result | operator() (Atom &atom) |
virtual Processor::Result | operator() (const Vector3 &v) |
Accessors | |
Vector3 & | getCenter () |
Private Attributes | |
Vector3 | center_ |
Size | n_ |
Calculates the geometric center of a given Composite object. This processor calculates the geometric center of the atom coordinates of a given molecular object.
Definition at line 124 of file geometricProperties.h.
virtual bool BALL::GeometricCenterProcessor::finish | ( | ) | [virtual] |
finish method
Reimplemented from BALL::UnaryProcessor< Atom >.
Vector3& BALL::GeometricCenterProcessor::getCenter | ( | ) |
Returns the center of the object
virtual Processor::Result BALL::GeometricCenterProcessor::operator() | ( | const Vector3 & | v | ) | [virtual] |
virtual Processor::Result BALL::GeometricCenterProcessor::operator() | ( | Atom & | ) | [inline, virtual] |
operator ()
Reimplemented from BALL::UnaryProcessor< Atom >.
Definition at line 145 of file geometricProperties.h.
virtual bool BALL::GeometricCenterProcessor::start | ( | ) | [virtual] |
start method
Reimplemented from BALL::UnaryProcessor< Atom >.
Definition at line 167 of file geometricProperties.h.
Size BALL::GeometricCenterProcessor::n_ [private] |
Definition at line 168 of file geometricProperties.h.