The Gnome Chemistry Utils
0.14.0
|
#include <gcr/cleavage.h>
Public Member Functions | |
Cleavage (Cleavage &ccCleavage) | |
unsigned & | 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 |
unsigned | 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.
|
inline |
Definition at line 65 of file cleavage.h.
References m_nh.
|
inline |
Definition at line 69 of file cleavage.h.
References m_nk.
|
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. |
|
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.
|
protected |
|
protected |
|
protected |
|
protected |