CellModules
MecaCell::Rotation< V > Struct Template Reference

#include <rotation.h>

Public Member Functions

 Rotation ()
 
 Rotation (const V &v, const double &f)
 
void randomize ()
 
Rotation operator+ (const V &v) const
 
Rotation rotated (const Rotation &r) const
 
void compress ()
 
Rotation compressed () const
 
Rotation inverted () const
 
Rotation operator+ (const Rotation &R2) const
 
Rotation operator- (const Rotation &R2) const
 

Public Attributes

n = V(0, 1, 0)
 
double teta = 0
 

Detailed Description

template<typename V>
struct MecaCell::Rotation< V >

Definition at line 7 of file rotation.h.

Constructor & Destructor Documentation

◆ Rotation() [1/2]

template<typename V >
MecaCell::Rotation< V >::Rotation ( )
inline

Definition at line 11 of file rotation.h.

◆ Rotation() [2/2]

template<typename V >
MecaCell::Rotation< V >::Rotation ( const V &  v,
const double &  f 
)
inline

Definition at line 13 of file rotation.h.

Member Function Documentation

◆ compress()

template<typename V >
void MecaCell::Rotation< V >::compress ( )
inline

Definition at line 30 of file rotation.h.

◆ compressed()

template<typename V >
Rotation MecaCell::Rotation< V >::compressed ( ) const
inline

Definition at line 38 of file rotation.h.

◆ inverted()

template<typename V >
Rotation MecaCell::Rotation< V >::inverted ( ) const
inline

Definition at line 44 of file rotation.h.

◆ operator+() [1/2]

template<typename V >
Rotation MecaCell::Rotation< V >::operator+ ( const Rotation< V > &  R2) const
inline

Definition at line 46 of file rotation.h.

◆ operator+() [2/2]

template<typename V >
Rotation MecaCell::Rotation< V >::operator+ ( const V &  v) const
inline

Definition at line 21 of file rotation.h.

◆ operator-()

template<typename V >
Rotation MecaCell::Rotation< V >::operator- ( const Rotation< V > &  R2) const
inline

Definition at line 51 of file rotation.h.

◆ randomize()

template<typename V >
void MecaCell::Rotation< V >::randomize ( )
inline

Definition at line 15 of file rotation.h.

◆ rotated()

template<typename V >
Rotation MecaCell::Rotation< V >::rotated ( const Rotation< V > &  r) const
inline

Definition at line 28 of file rotation.h.

Member Data Documentation

◆ n

template<typename V >
V MecaCell::Rotation< V >::n = V(0, 1, 0)

Definition at line 8 of file rotation.h.

◆ teta

template<typename V >
double MecaCell::Rotation< V >::teta = 0

Definition at line 9 of file rotation.h.


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