Jpp  master_rocky-43-ge265d140c
the software that should make you happy
Public Member Functions | Protected Attributes | List of all members
JGEOMETRY3D::JQuaternion3Y Struct Reference

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

#include <JQuaternion3D.hh>

Inheritance diagram for JGEOMETRY3D::JQuaternion3Y:
JGEOMETRY3D::JQuaternion2D

Public Member Functions

 JQuaternion3Y ()
 Default constructor. More...
 
 JQuaternion3Y (const double theta)
 Constructor. More...
 
double getC () const
 Get c value. More...
 
JQuaternion3Ypow (const double y)
 Raise quaternion to given power. More...
 
double getA () const
 Get a value. More...
 

Protected Attributes

double __a
 
double __u
 

Detailed Description

This class represents a rotation around the y-axis.

Definition at line 201 of file JQuaternion3D.hh.

Constructor & Destructor Documentation

◆ JQuaternion3Y() [1/2]

JGEOMETRY3D::JQuaternion3Y::JQuaternion3Y ( )
inline

Default constructor.

Definition at line 207 of file JQuaternion3D.hh.

207  :
208  JQuaternion2D()
209  {}
JQuaternion2D()
Default constructor.

◆ JQuaternion3Y() [2/2]

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

Constructor.

Parameters
thetarotation angle [rad]

Definition at line 217 of file JQuaternion3D.hh.

217  :
218  JQuaternion2D(theta)
219  {}

Member Function Documentation

◆ getC()

double JGEOMETRY3D::JQuaternion3Y::getC ( ) const
inline

Get c value.

Returns
c value

Definition at line 227 of file JQuaternion3D.hh.

228  {
229  return __u;
230  }

◆ pow()

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

Raise quaternion to given power.

Parameters
ypower
Returns
this object

Definition at line 239 of file JQuaternion3D.hh.

240  {
242 
243  return *this;
244  }
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: