Jpp  15.0.2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
JGEOMETRY2D::JRotator2D Class Reference

Rotation set. More...

#include <JRotator2D.hh>

Inheritance diagram for JGEOMETRY2D::JRotator2D:
std::vector< JElement_t, JAllocator_t >

Public Member Functions

 JRotator2D ()
 Default constructor. More...
 
 JRotator2D (const JOmega2D_t &omega)
 Constructor. More...
 

Detailed Description

Rotation set.

Definition at line 29 of file JRotator2D.hh.

Constructor & Destructor Documentation

JGEOMETRY2D::JRotator2D::JRotator2D ( )
inline

Default constructor.

Definition at line 36 of file JRotator2D.hh.

36  :
37  JRotator2D_t()
38  {}
std::vector< JRotation2D > JRotator2D_t
Type definition of rotation set.
Definition: JRotator2D.hh:23
JGEOMETRY2D::JRotator2D::JRotator2D ( const JOmega2D_t omega)
inline

Constructor.

Parameters
omegadirection set

Definition at line 46 of file JRotator2D.hh.

46  :
47  JRotator2D_t()
48  {
49  if (!omega.empty()) {
50 
51  JRotation2D R(*omega.begin());
52 
53  push_back(R);
54 
55  for (JOmega2D_t::const_iterator i = omega.begin(); ++i != omega.end(); ) {
56 
57  JRotation2D r(*i);
58 
59  push_back(r.mul(R.transpose()));
60 
61  R = JRotation2D(*i);
62  }
63 
64  push_back(R.transpose());
65  }
66  }
Rotation matrix.
Definition: JRotation2D.hh:23
data_type r[M+1]
Definition: JPolint.hh:742
then usage $script[distance] fi case set_variable R
Definition: JDrawLED.sh:43
std::vector< JRotation2D > JRotator2D_t
Type definition of rotation set.
Definition: JRotator2D.hh:23

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