Mantid
|
SymmetryElementTranslation represents translations. More...
#include <SymmetryElement.h>
Public Member Functions | |
SymmetryElement_sptr | clone () const override |
Returns a clone of the translation. More... | |
V3R | getTranslation () const |
Returns the internally stored translation vector. More... | |
SymmetryElementTranslation (const V3R &translation) | |
Constructor for translation element, requires translation vector. More... | |
Public Member Functions inherited from Mantid::Geometry::SymmetryElement | |
virtual std::shared_ptr< SymmetryElement > | clone () const =0 |
std::string | hmSymbol () const |
Returns the internally stored Hermann-Mauguin symbol. More... | |
virtual | ~SymmetryElement ()=default |
Protected Attributes | |
V3R | m_translation |
Protected Attributes inherited from Mantid::Geometry::SymmetryElement | |
std::string | m_hmSymbol |
Additional Inherited Members | |
Protected Member Functions inherited from Mantid::Geometry::SymmetryElement | |
SymmetryElement (std::string symbol) | |
Constructor with symbol argument. More... | |
SymmetryElementTranslation represents translations.
The constructor takes a translation vector as argument, which is then stored. As symbol, "t" is used, in accordance with the International Tables for Crystallography.
Definition at line 96 of file SymmetryElement.h.
Mantid::Geometry::SymmetryElementTranslation::SymmetryElementTranslation | ( | const V3R & | translation | ) |
Constructor for translation element, requires translation vector.
Definition at line 68 of file SymmetryElement.cpp.
|
overridevirtual |
Returns a clone of the translation.
Implements Mantid::Geometry::SymmetryElement.
Definition at line 72 of file SymmetryElement.cpp.
References m_translation.
|
inline |
Returns the internally stored translation vector.
Definition at line 101 of file SymmetryElement.h.
|
protected |
Definition at line 106 of file SymmetryElement.h.
Referenced by clone().