#include <BALL/STRUCTURE/RSVertex.h>
List of all members.
Detailed Description
Generic RSVertex Class.
Constructor & Destructor Documentation
BALL::RSVertex::RSVertex |
( |
|
) |
|
Default constructor. This method creates a new RSVertex object.
BALL::RSVertex::RSVertex |
( |
const RSVertex & |
rsvertex, |
|
|
bool |
deep = false | |
|
) |
| | |
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. |
BALL::RSVertex::RSVertex |
( |
Index |
atom |
) |
|
Detailled constructor. Create a new RSVertex object from an index.
- Parameters:
-
| atom | assigned to the index of the atom |
virtual BALL::RSVertex::~RSVertex |
( |
|
) |
[virtual] |
Destructor. Destructs the RSVertex object.
Member Function Documentation
Index BALL::RSVertex::getAtom |
( |
|
) |
const |
Return the index of the atom represented by the vertex.
- Returns:
- Index the index of the atom represented by the vertex
virtual bool BALL::RSVertex::operator!= |
( |
const RSVertex & |
rsvertex |
) |
const [virtual] |
virtual bool BALL::RSVertex::operator*= |
( |
const RSVertex & |
rsvertex |
) |
const [virtual] |
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 BALL::RSVertex::operator== |
( |
const RSVertex & |
rsvertex |
) |
const [virtual] |
void BALL::RSVertex::set |
( |
const RSVertex & |
rsvertex, |
|
|
bool |
deep = false | |
|
) |
| | |
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 BALL::RSVertex::setAtom |
( |
Index |
atom |
) |
|
Set the index of the atom represented by the vertex.
- Parameters:
-
Friends And Related Function Documentation
Member Data Documentation