Mantid
|
This implementation of AbstractSymmetryElementGenerator produces only inversion elements. More...
#include <SymmetryElementFactory.h>
Public Member Functions | |
bool | canProcess (const SymmetryOperation &operation) const override |
Checks that the matrix is identity matrix multiplied with -1. More... | |
SymmetryElement_sptr | generateElement (const SymmetryOperation &operation) const override |
Generates an instance of SymmetryElementInversion with the inversion point equal to the vector of the operation divided by two. More... | |
Public Member Functions inherited from Mantid::Geometry::AbstractSymmetryElementGenerator | |
virtual bool | canProcess (const SymmetryOperation &operation) const =0 |
Should return true if the generator can produce a valid SymmetryElement from the provided SymmetryOperation. More... | |
virtual SymmetryElement_sptr | generateElement (const SymmetryOperation &operation) const =0 |
Must generate a valid SymmetryElement from the given operation. More... | |
virtual | ~AbstractSymmetryElementGenerator ()=default |
This implementation of AbstractSymmetryElementGenerator produces only inversion elements.
Definition at line 77 of file SymmetryElementFactory.h.
|
overridevirtual |
Checks that the matrix is identity matrix multiplied with -1.
Implements Mantid::Geometry::AbstractSymmetryElementGenerator.
Definition at line 49 of file SymmetryElementFactory.cpp.
References Mantid::Geometry::SymmetryOperation::matrix().
|
overridevirtual |
Generates an instance of SymmetryElementInversion with the inversion point equal to the vector of the operation divided by two.
Implements Mantid::Geometry::AbstractSymmetryElementGenerator.
Definition at line 43 of file SymmetryElementFactory.cpp.
References Mantid::Geometry::SymmetryOperation::vector().