The Gnome Chemistry Utils 0.13.3
|
#include <gcr/cleavage.h>
Public Member Functions | |
Cleavage (Cleavage &ccCleavage) | |
int & | Planes () |
int & | h () |
int & | k () |
int & | l () |
Cleavage & | operator= (Cleavage &ccCleavage) |
bool | operator== (Cleavage &ccCleavage) |
xmlNodePtr | Save (xmlDocPtr xml) const |
bool | Load (xmlNodePtr node) |
Protected Attributes | |
int | m_nh |
int | m_nk |
int | m_nl |
int | m_nPlanes |
Represents cleavages of a cystal along a plane defined by its Miller indices. A defined number of planes are removed by each cleavage. These are those for which the value hx + ky + lz are the greatest. To remove planes frome the other side of the crystal, change the sign of the three Miller indices.
Definition at line 40 of file cleavage.h.
gcr::Cleavage::Cleavage | ( | Cleavage & | ccCleavage | ) |
ccCleavage,: | the cleavage instance to copy. |
The copy constructor.
int& gcr::Cleavage::h | ( | ) | [inline] |
Definition at line 65 of file cleavage.h.
References m_nh.
int& gcr::Cleavage::k | ( | ) | [inline] |
Definition at line 69 of file cleavage.h.
References m_nk.
int& gcr::Cleavage::l | ( | ) | [inline] |
Definition at line 73 of file cleavage.h.
References m_nl.
bool gcr::Cleavage::Load | ( | xmlNodePtr | node | ) |
ccCleavage,: | the cleavage to copy. |
bool gcr::Cleavage::operator== | ( | Cleavage & | ccCleavage | ) |
ccCleavage,: | a Cleavage instance. |
int& gcr::Cleavage::Planes | ( | ) | [inline] |
Definition at line 61 of file cleavage.h.
References m_nPlanes.
xmlNodePtr gcr::Cleavage::Save | ( | xmlDocPtr | xml | ) | const |
xml,: | the xmlDoc used to save the document. |
Used to save the cleavage to the xmlDoc. Each serializable Object should implement this virtual method.
int gcr::Cleavage::m_nh [protected] |
int gcr::Cleavage::m_nk [protected] |
int gcr::Cleavage::m_nl [protected] |
int gcr::Cleavage::m_nPlanes [protected] |