15 #ifndef BORNAGAIN_CORE_LATTICE_ILATTICEORIENTATION_H
16 #define BORNAGAIN_CORE_LATTICE_ILATTICEORIENTATION_H
28 virtual void usePrimitiveLattice(
const Lattice& lattice) = 0;
30 virtual Transform3D transformationMatrix()
const = 0;
44 enum QComponent { QX, QY, QZ };
55 void usePrimitiveLattice(
const Lattice& lattice)
override;
60 bool checkAlignment()
const;
62 QComponent m_q1, m_q2;
A lattice with three basis vectors.
Specifies a rotation of a lattice through the Miller indices of two coordinate axes.
MillerIndexOrientation(QComponent q1, MillerIndex index1, QComponent q2, MillerIndex index2)
This constructor is best explained by an example.
A direction in reciprocal space, specified by double-valued indices hkl.