Mantid
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Mantid::Geometry::SymmetryElementTranslation Class Reference

SymmetryElementTranslation represents translations. More...

#include <SymmetryElement.h>

Inheritance diagram for Mantid::Geometry::SymmetryElementTranslation:
Mantid::Geometry::SymmetryElement

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< SymmetryElementclone () 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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ SymmetryElementTranslation()

Mantid::Geometry::SymmetryElementTranslation::SymmetryElementTranslation ( const V3R translation)

Constructor for translation element, requires translation vector.

Definition at line 68 of file SymmetryElement.cpp.

Member Function Documentation

◆ clone()

SymmetryElement_sptr Mantid::Geometry::SymmetryElementTranslation::clone ( ) const
overridevirtual

Returns a clone of the translation.

Implements Mantid::Geometry::SymmetryElement.

Definition at line 72 of file SymmetryElement.cpp.

References m_translation.

◆ getTranslation()

V3R Mantid::Geometry::SymmetryElementTranslation::getTranslation ( ) const
inline

Returns the internally stored translation vector.

Definition at line 101 of file SymmetryElement.h.

Member Data Documentation

◆ m_translation

V3R Mantid::Geometry::SymmetryElementTranslation::m_translation
protected

Definition at line 106 of file SymmetryElement.h.

Referenced by clone().


The documentation for this class was generated from the following files: