Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
JGEOMETRY3D::JQuaternion3X Struct Reference

This class represents a rotation around the x-axis. More...

#include <JQuaternion3D.hh>

Inheritance diagram for JGEOMETRY3D::JQuaternion3X:
JGEOMETRY3D::JQuaternion2D

Public Member Functions

 JQuaternion3X ()
 Default constructor.
 
 JQuaternion3X (const double theta)
 Constructor.
 
double getB () const
 Get b value.
 
JQuaternion3Xpow (const double y)
 Raise quaternion to given power.
 
double getA () const
 Get a value.
 

Protected Attributes

double __a
 
double __u
 

Detailed Description

This class represents a rotation around the x-axis.

Definition at line 151 of file JQuaternion3D.hh.

Constructor & Destructor Documentation

◆ JQuaternion3X() [1/2]

JGEOMETRY3D::JQuaternion3X::JQuaternion3X ( )
inline

Default constructor.

Definition at line 157 of file JQuaternion3D.hh.

157 :
159 {}
JQuaternion2D()
Default constructor.

◆ JQuaternion3X() [2/2]

JGEOMETRY3D::JQuaternion3X::JQuaternion3X ( const double theta)
inline

Constructor.

Parameters
thetarotation angle [rad]

Definition at line 167 of file JQuaternion3D.hh.

167 :
168 JQuaternion2D(theta)
169 {}

Member Function Documentation

◆ getB()

double JGEOMETRY3D::JQuaternion3X::getB ( ) const
inline

Get b value.

Returns
b value

Definition at line 177 of file JQuaternion3D.hh.

178 {
179 return __u;
180 }

◆ pow()

JQuaternion3X & JGEOMETRY3D::JQuaternion3X::pow ( const double y)
inline

Raise quaternion to given power.

Parameters
ypower
Returns
this object

Definition at line 189 of file JQuaternion3D.hh.

190 {
192
193 return *this;
194 }
JQuaternion2D & pow(const double y)
Raise quaternion to given power.

◆ getA()

double JGEOMETRY3D::JQuaternion2D::getA ( ) const
inlineinherited

Get a value.

Returns
a value

Definition at line 64 of file JQuaternion3D.hh.

65 {
66 return __a;
67 }

Member Data Documentation

◆ __a

double JGEOMETRY3D::JQuaternion2D::__a
protectedinherited

Definition at line 143 of file JQuaternion3D.hh.

◆ __u

double JGEOMETRY3D::JQuaternion2D::__u
protectedinherited

Definition at line 144 of file JQuaternion3D.hh.


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