Mantid
|
SymmetryElementMirror represents mirror and glide-planes. More...
#include <SymmetryElement.h>
Public Member Functions | |
SymmetryElement_sptr | clone () const override |
Returns a clone of the mirror plane. More... | |
SymmetryElementMirror (const std::string &symbol, const V3R &axis, const V3R &translation=V3R(0, 0, 0)) | |
Constructor for mirror planes. More... | |
Public Member Functions inherited from Mantid::Geometry::SymmetryElementWithAxis | |
V3R | getAxis () const |
Returns the internally stored axis. More... | |
V3R | getTranslation () const |
Returns the internally stored 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 |
Additional Inherited Members | |
Protected Member Functions inherited from Mantid::Geometry::SymmetryElementWithAxis | |
void | setAxis (const V3R &axis) |
Sets the axis, throws std::invalid_argument if the axis is (0,0,0). More... | |
SymmetryElementWithAxis (const std::string &symbol, const V3R &axis, const V3R &translation) | |
Constructor for SymmetryElementWithAxis. More... | |
Protected Member Functions inherited from Mantid::Geometry::SymmetryElement | |
SymmetryElement (std::string symbol) | |
Constructor with symbol argument. More... | |
Protected Attributes inherited from Mantid::Geometry::SymmetryElementWithAxis | |
V3R | m_axis |
V3R | m_translation |
Protected Attributes inherited from Mantid::Geometry::SymmetryElement | |
std::string | m_hmSymbol |
SymmetryElementMirror represents mirror and glide-planes.
The axis which is inherited from SymmetryElementWithAxis is perpendicular to the actual mirror-plane. The translation is (0,0,0) by default.
Symbol determination is perfomed by SymmetryElementMirrorGenerator, which uses the SymmetryOperation to derive the Herrman-Mauguin symbol.
Definition at line 177 of file SymmetryElement.h.
Mantid::Geometry::SymmetryElementMirror::SymmetryElementMirror | ( | const std::string & | symbol, |
const V3R & | axis, | ||
const V3R & | translation = V3R(0, 0, 0) |
||
) |
Constructor for mirror planes.
Definition at line 59 of file SymmetryElement.cpp.
|
overridevirtual |
Returns a clone of the mirror plane.
Implements Mantid::Geometry::SymmetryElement.
Definition at line 63 of file SymmetryElement.cpp.
References Mantid::Geometry::SymmetryElementWithAxis::m_axis, Mantid::Geometry::SymmetryElement::m_hmSymbol, and Mantid::Geometry::SymmetryElementWithAxis::m_translation.