NumCpp  2.12.1
A Templatized Header Only C++ Implementation of the Python NumPy Library
nc::coordinates::Euler Class Reference

Euler. More...

#include <Euler.hpp>

Public Member Functions

 Euler () noexcept=default
 Default Constructor. More...
 
 Euler (const Euler &other) noexcept=default
 Copy Constructor. More...
 
constexpr Euler (double inPsi, double inTheta, double inPhi) noexcept
 Constructor. More...
 
 Euler (Euler &&other) noexcept=default
 Move Euler. More...
 
virtual ~Euler ()=default
 Destructor. More...
 
bool operator!= (const Euler &other) const noexcept
 Non-Equality Operator. More...
 
Euleroperator= (const Euler &other) noexcept=default
 Copy Assignement Operator. More...
 
Euleroperator= (Euler &&other) noexcept=default
 Move Assignement Operator. More...
 
bool operator== (const Euler &other) const noexcept
 Non-Equality Operator. More...
 

Data Fields

double phi { 0. }
 
double psi { 0. }
 
double theta { 0. }
 

Detailed Description

Constructor & Destructor Documentation

◆ Euler() [1/4]

nc::coordinates::Euler::Euler ( )
defaultnoexcept

Default Constructor.

◆ Euler() [2/4]

constexpr nc::coordinates::Euler::Euler ( double  inPsi,
double  inTheta,
double  inPhi 
)
inlineconstexprnoexcept

Constructor.

Parameters
inPsithe psi component
inThetathe theta component
inPhithe phi component

◆ Euler() [3/4]

nc::coordinates::Euler::Euler ( const Euler other)
defaultnoexcept

Copy Constructor.

Parameters
otherthe other Euler instance

◆ Euler() [4/4]

nc::coordinates::Euler::Euler ( Euler &&  other)
defaultnoexcept

Move Euler.

Parameters
otherthe other Euler instance

◆ ~Euler()

virtual nc::coordinates::Euler::~Euler ( )
virtualdefault

Destructor.

Member Function Documentation

◆ operator!=()

bool nc::coordinates::Euler::operator!= ( const Euler other) const
inlinenoexcept

Non-Equality Operator.

Parameters
otherother object
Returns
bool true if not equal equal

◆ operator=() [1/2]

Euler & nc::coordinates::Euler::operator= ( const Euler other)
defaultnoexcept

Copy Assignement Operator.

Parameters
otherthe other Euler instance

◆ operator=() [2/2]

Euler & nc::coordinates::Euler::operator= ( Euler &&  other)
defaultnoexcept

Move Assignement Operator.

Parameters
otherthe other Euler instance

◆ operator==()

bool nc::coordinates::Euler::operator== ( const Euler other) const
inlinenoexcept

Non-Equality Operator.

Parameters
otherother object
Returns
bool true if not equal equal

Field Documentation

◆ phi

double nc::coordinates::Euler::phi { 0. }

◆ psi

double nc::coordinates::Euler::psi { 0. }

◆ theta

double nc::coordinates::Euler::theta { 0. }

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