Mantid
|
SymmetryElement is an interface for representing symmetry elements that occur for example in space and point groups. More...
#include <SymmetryElement.h>
Public Member Functions | |
virtual std::shared_ptr< SymmetryElement > | clone () const =0 |
std::string | hmSymbol () const |
Returns the internally stored Hermann-Mauguin symbol. More... | |
virtual | ~SymmetryElement ()=default |
Protected Member Functions | |
SymmetryElement (std::string symbol) | |
Constructor with symbol argument. More... | |
Protected Attributes | |
std::string | m_hmSymbol |
SymmetryElement is an interface for representing symmetry elements that occur for example in space and point groups.
The base class itself can not be used, it only defines a (very small) interface that currently only contains the Hermann-Mauguin symbol of the element, as that is the one common factor for all symmetry elements. There are however classes for identity, translation, inversion, rotation and mirror.
However, these classes should not be instantiated directly, they are merely storing the information on a symmetry element. Instead, they should be generated through SymmetryElementFactory, which generates the elements from SymmetryOperation-objects. Please see the documentation of SymmetryElementFactory for details and examples.
Definition at line 38 of file SymmetryElement.h.
|
virtualdefault |
|
protected |
Constructor with symbol argument.
Definition at line 17 of file SymmetryElement.cpp.
|
pure virtual |
|
inline |
Returns the internally stored Hermann-Mauguin symbol.
Definition at line 45 of file SymmetryElement.h.
Referenced by export_SymmetryElement().
|
protected |
Definition at line 50 of file SymmetryElement.h.
Referenced by Mantid::Geometry::SymmetryElementRotation::clone(), and Mantid::Geometry::SymmetryElementMirror::clone().