BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
MillerIndexOrientation Class Reference

Specifies a rotation of a lattice through the Miller indices of two coordinate axes. More...

+ Inheritance diagram for MillerIndexOrientation:

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...
 
MillerIndexOrientationclone () const override
 
void usePrimitiveLattice (const Lattice &lattice) override
 
Transform3D transformationMatrix () const override
 

Detailed Description

Specifies a rotation of a lattice through the Miller indices of two coordinate axes.

Definition at line 41 of file ILatticeOrientation.h.

Constructor & Destructor Documentation

◆ MillerIndexOrientation()

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.


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