BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
RotationX Class Reference

Description

A rotation about the x axis.

Inheritance diagram for RotationX:

Public Member Functions

 RotationX (double angle)
 
 RotationX (std::vector< double > P)
 
double angle () const
 
std::string className () const final
 
RotationXclone () const override
 
RotationXcreateInverse () const override
 
std::vector< ParaMeta > parDefs () const final
 
RotMatrix rotMatrix () const override
 

Protected Attributes

const double & m_angle
 

Constructor & Destructor Documentation

◆ RotationX() [1/2]

RotationX::RotationX ( std::vector< double >  P)

◆ RotationX() [2/2]

RotationX::RotationX ( double  angle)

Member Function Documentation

◆ angle()

double RotationX::angle ( ) const

◆ className()

std::string RotationX::className ( ) const
final

◆ clone()

RotationX* RotationX::clone ( ) const
override

◆ createInverse()

RotationX* RotationX::createInverse ( ) const
override

◆ parDefs()

std::vector<ParaMeta> RotationX::parDefs ( ) const
final

◆ rotMatrix()

RotMatrix RotationX::rotMatrix ( ) const
override

Member Data Documentation

◆ m_angle

const double& RotationX::m_angle
protected