Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

RSVertex Class Reference
[Molecular Surface Computation]

Generic RSVertex Class. More...

#include <RSVertex.h>

Inheritance diagram for RSVertex:

GraphVertex< RSVertex, RSEdge, RSFace > List of all members.

Public Member Functions

Constructors and Destructors
 RSVertex () throw ()
 Default constructor.
 RSVertex (const RSVertex &rsvertex, bool deep=false) throw ()
 Copy constructor.
 RSVertex (Index atom) throw ()
 Detailled constructor.
virtual ~RSVertex () throw ()
 Destructor.
Assignment
void set (const RSVertex &rsvertex, bool deep=false) throw ()
 Assign from another RSVertex.
RSVertexoperator= (const RSVertex &rsvertex) throw ()
 Assign from another RSVertex.
Accessors
void setAtom (Index atom) throw ()
 Set the index of the atom represented by the vertex.
Index getAtom () const throw ()
 Return the index of the atom represented by the vertex.
Predicates
virtual bool operator== (const RSVertex &rsvertex) const throw ()
 Equality operator.
virtual bool operator!= (const RSVertex &rsvertex) const throw ()
 Inequality operator.
virtual bool operator *= (const RSVertex &rsvertex) const throw ()
 Similarity operator.

Protected Attributes

Index atom_

Friends

Class friends
  • class RSEdge - class RSFace - class ReducedSurface - class RSComputer - class SESEdge - class SESFace - class SESVertex - class SolventExcludedSurface - class SESComputer - class SESSingularityCleaner - class TriangulatedSES - class SESTriangulator - class SASEdge - class SASFace - class SASVertex - class SolventAccessibleSurface - class TriangulatedSAS - class SASTriangulator


class RSEdge
class RSFace
class ReducedSurface
class RSComputer
class SESEdge
class SESFace
class SESVertex
class SolventExcludedSurface
class SESComputer
class SESSingularityCleaner
class TriangulatedSES
class SESTriangulator
class SASEdge
class SASFace
class SASVertex
class SolventAccessibleSurface
class TriangulatedSAS
class SASTriangulator

Detailed Description

Generic RSVertex Class.


Constructor & Destructor Documentation

RSVertex::RSVertex  )  throw ()
 

Default constructor.

This method creates a new RSVertex object.

RSVertex::RSVertex const RSVertex rsvertex,
bool  deep = false
throw ()
 

Copy constructor.

Create a new RSVertex object from another.

Parameters:
rsvertex the RSVertex object to be copied
deep if deep = false, all pointers are set to NULL (default). Otherwise the new RSVertex object is linked to the neighbours of the old RSVertex object.

RSVertex::RSVertex Index  atom  )  throw ()
 

Detailled constructor.

Create a new RSVertex object from an index.

Parameters:
atom assigned to the index of the atom

virtual RSVertex::~RSVertex  )  throw () [virtual]
 

Destructor.

Destructs the RSVertex object.


Member Function Documentation

Index RSVertex::getAtom  )  const throw ()
 

Return the index of the atom represented by the vertex.

Returns:
Index the index of the atom represented by the vertex

virtual bool RSVertex::operator *= const RSVertex rsvertex  )  const throw () [virtual]
 

Similarity operator.

Returns:
bool true if the atoms are equal, false otherwise

Reimplemented from GraphVertex< RSVertex, RSEdge, RSFace >.

virtual bool RSVertex::operator!= const RSVertex rsvertex  )  const throw () [virtual]
 

Inequality operator.

Returns:
bool false if the vertices are equal in all components, true otherwise

Reimplemented from GraphVertex< RSVertex, RSEdge, RSFace >.

RSVertex& RSVertex::operator= const RSVertex rsvertex  )  throw ()
 

Assign from another RSVertex.

The RSVertex object is linked to the neighbours of the RSVertex object to assign from.

Parameters:
rsvertex the RSVertex object to assign from

virtual bool RSVertex::operator== const RSVertex rsvertex  )  const throw () [virtual]
 

Equality operator.

Returns:
bool true if the vertices are equal in all components, false otherwise

Reimplemented from GraphVertex< RSVertex, RSEdge, RSFace >.

void RSVertex::set const RSVertex rsvertex,
bool  deep = false
throw ()
 

Assign from another RSVertex.

Parameters:
rsvertex the RSVertex object to assign from
deep if deep = false, all pointers are set to NULL (default). Otherwise the RSVertex object is linked to the neighbours of the RSVertex object to assign from.

void RSVertex::setAtom Index  atom  )  throw ()
 

Set the index of the atom represented by the vertex.

Parameters:
atom the new index