#include <BALL/STRUCTURE/SESVertex.h>
Public Member Functions | |
Constructors and Destructors | |
SESVertex () | |
SESVertex (const SESVertex &sesvertex, bool deep=false) | |
SESVertex (const TVector3< double > &point, const TVector3< double > &normal, Index atom, Index index) | |
virtual | ~SESVertex () |
Assignment | |
void | set (const SESVertex &sesvertex, bool deep=false) |
SESVertex & | operator= (const SESVertex &sesvertex) |
void | set (const TVector3< double > point, const TVector3< double > &normal, Index atom, Index index) |
void | setPoint (const TVector3< double > &point) |
TVector3< double > | getPoint () const |
void | setNormal (const TVector3< double > &normal) throw (Exception::DivisionByZero) |
TVector3< double > | getNormal () const |
void | setAtom (Index atom) |
Index | getAtom () const |
Predicates | |
virtual bool | operator== (const SESVertex &) const |
virtual bool | operator!= (const SESVertex &) const |
virtual bool | operator*= (const SESVertex &) const |
Protected Attributes | |
Attributes | |
TVector3< double > | point_ |
TVector3< double > | normal_ |
Index | atom_ |
Friends | |
Class friends | |
| |
class | SESEdge |
class | SESFace |
class | SolventExcludedSurface |
class | SESComputer |
class | SESSingularityCleaner |
class | TriangulatedSES |
class | SESTriangulator |
Generic SESVertex Class.
BALL::SESVertex::SESVertex | ( | ) |
Default constructor. This method creates a new SESVertex object.
BALL::SESVertex::SESVertex | ( | const TVector3< double > & | point, | |
const TVector3< double > & | normal, | |||
Index | atom, | |||
Index | index | |||
) |
Detailled constructor. Create a new SESVertex object from some nice objects.
point | assigned to the point representet by the vertex | |
normal | assigned to the normal vector of the vertex | |
atom | assigned to the index of the closest atom | |
index | assigned to the index of the vertex |
virtual BALL::SESVertex::~SESVertex | ( | ) | [virtual] |
Destructor. Destructs the RSVertex object.
Index BALL::SESVertex::getAtom | ( | ) | const |
Return the index of the closest atom.
Return the normal vector of the SESVertex.
Return the point represented by the SESVertex.
Inequality operator.
Reimplemented from BALL::GraphVertex< SESVertex, SESEdge, SESFace >.
Similarity operator.
Reimplemented from BALL::GraphVertex< SESVertex, SESEdge, SESFace >.
Equality operator.
Reimplemented from BALL::GraphVertex< SESVertex, SESEdge, SESFace >.
void BALL::SESVertex::set | ( | const TVector3< double > | point, | |
const TVector3< double > & | normal, | |||
Index | atom, | |||
Index | index | |||
) |
Assign to two TVector3<double>'s and two indices.
point | assigned to the point represented by the vertex | |
normal | assigned to the normal vector of th vertex | |
atom | assigned to the index of the closest atom | |
index | assigned to the index of the vertex |
void BALL::SESVertex::setAtom | ( | Index | atom | ) |
Set the index of the closest atom of the SESVertex.
atom | the index of the closest atom |
void BALL::SESVertex::setNormal | ( | const TVector3< double > & | normal | ) | throw (Exception::DivisionByZero) |
Set the normal vector of the SESVertex.
normal | the new normal vector |
Set the point represented by the SESVertex.
point | the new point |
friend class SESComputer [friend] |
friend class SESEdge [friend] |
friend class SESFace [friend] |
friend class SESSingularityCleaner [friend] |
friend class SESTriangulator [friend] |
friend class SolventExcludedSurface [friend] |
friend class TriangulatedSES [friend] |
Index BALL::SESVertex::atom_ [protected] |
TVector3<double> BALL::SESVertex::normal_ [protected] |
TVector3<double> BALL::SESVertex::point_ [protected] |