BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Specifies a rotation of a lattice through the Miller indices of two coordinate axes. More...
Public Types | |
enum | QComponent { QX , QY , QZ } |
Public Member Functions | |
MillerIndexOrientation (QComponent q1, MillerIndex index1, QComponent q2, MillerIndex index2) | |
This constructor is best explained by an example. More... | |
MillerIndexOrientation * | clone () const override |
void | usePrimitiveLattice (const Lattice &lattice) override |
Transform3D | transformationMatrix () const override |
Specifies a rotation of a lattice through the Miller indices of two coordinate axes.
Definition at line 41 of file ILatticeOrientation.h.
MillerIndexOrientation::MillerIndexOrientation | ( | MillerIndexOrientation::QComponent | q1, |
MillerIndex | index1, | ||
MillerIndexOrientation::QComponent | q2, | ||
MillerIndex | index2 | ||
) |
This constructor is best explained by an example.
Arguments QX, (1,1,0), QY, (0,2,1) mean: Rotate the lattice such that the axis [110] points into x direction, and the axis [021], projected into the yz plane, points into z direction.
Definition at line 33 of file ILatticeOrientation.cpp.