| 
    Jpp
    15.0.5
    
   the software that should make you happy 
   | 
 
Rotation matrix. More...
#include <JRotation2D.hh>
  
 Public Member Functions | |
| JRotation2D () | |
| Default constructor (= identity matrix).  More... | |
| JRotation2D (const JAngle2D &dir) | |
| Constructor.  More... | |
| const JRotation2D & | getRotation () const | 
| Get rotation.  More... | |
| JRotation2D & | transpose () | 
| Transpose.  More... | |
| JRotation2D & | mul (const JRotation2D &A) | 
| Matrix multiplication.  More... | |
| void | rotate (double &__x, double &__y) const | 
| Rotate.  More... | |
| void | rotate_back (double &__x, double &__y) const | 
| Rotate back.  More... | |
| JMatrix2D & | setIdentity () | 
| Set to identity matrix.  More... | |
| void | set (const JMatrix2D &A) | 
| Set matrix.  More... | |
| JMatrix2D & | reset () | 
| Set matrix to the null matrix.  More... | |
| JMatrix2D & | negate () | 
| Negate matrix.  More... | |
| JMatrix2D & | add (const JMatrix2D &A) | 
| Matrix addition.  More... | |
| JMatrix2D & | sub (const JMatrix2D &A) | 
| Matrix subtraction.  More... | |
| JMatrix2D & | mul (const double factor) | 
| Scale matrix.  More... | |
| JMatrix2D & | mul (const JMatrix2D &A, const JMatrix2D &B) | 
| Matrix multiplication.  More... | |
| JMatrix2D & | mul (const JNullType &object) | 
| Multiply with object.  More... | |
| JMatrix2D & | div (const double factor) | 
| Scale matrix.  More... | |
| bool | equals (const JMatrix2D &A, const double eps=std::numeric_limits< double >::min()) const | 
| Equality.  More... | |
| bool | isIdentity (const double eps=std::numeric_limits< double >::min()) const | 
| Test identity.  More... | |
| double | getDeterminant () const | 
| Get determinant of matrix.  More... | |
| void | transform (double &__x, double &__y) const | 
| Transform.  More... | |
Static Public Member Functions | |
| static const JMatrix2D & | getInstance () | 
| Get reference to unique instance of this class object.  More... | |
| static const JMatrix2D & | getIdentity () | 
| Get reference to unique instance of this class object.  More... | |
Public Attributes | |
| double | a00 | 
| double | a01 | 
| double | a10 | 
| double | a11 | 
Rotation matrix.
Definition at line 23 of file JRotation2D.hh.
      
  | 
  inline | 
Default constructor (= identity matrix).
Definition at line 30 of file JRotation2D.hh.
      
  | 
  inline | 
Constructor.
The rotation is around the origin and anti-clockwise.
| dir | direction | 
Definition at line 43 of file JRotation2D.hh.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Matrix multiplication.
| A | matrix | 
Definition at line 82 of file JRotation2D.hh.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inlinestaticinherited | 
Get reference to unique instance of this class object.
Definition at line 70 of file JMath/JMatrix2D.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlinestaticinherited | 
Get reference to unique instance of this class object.
Definition at line 97 of file JMath/JMatrix2D.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Set matrix to the null matrix.
Definition at line 121 of file JMath/JMatrix2D.hh.
      
  | 
  inlineinherited | 
Matrix addition.
| A | matrix | 
Definition at line 164 of file JMath/JMatrix2D.hh.
Matrix subtraction.
| A | matrix | 
Definition at line 179 of file JMath/JMatrix2D.hh.
      
  | 
  inlineinherited | 
Scale matrix.
| factor | factor | 
Definition at line 194 of file JMath/JMatrix2D.hh.
Matrix multiplication.
| A | matrix | 
| B | matrix | 
Definition at line 225 of file JMath/JMatrix2D.hh.
      
  | 
  inlineinherited | 
Multiply with object.
| object | object | 
Definition at line 357 of file JMath.hh.
      
  | 
  inlineinherited | 
Scale matrix.
| factor | factor | 
Definition at line 209 of file JMath/JMatrix2D.hh.
      
  | 
  inlineinherited | 
Equality.
| A | matrix | 
| eps | numerical precision | 
Definition at line 245 of file JMath/JMatrix2D.hh.
      
  | 
  inlineinherited | 
Test identity.
| eps | numerical precision | 
Definition at line 261 of file JMath/JMatrix2D.hh.
      
  | 
  inlineinherited | 
Get determinant of matrix.
Definition at line 272 of file JMath/JMatrix2D.hh.
      
  | 
  inlineinherited | 
      
  | 
  inherited | 
Definition at line 346 of file JMath/JMatrix2D.hh.
      
  | 
  inherited | 
Definition at line 346 of file JMath/JMatrix2D.hh.
      
  | 
  inherited | 
Definition at line 347 of file JMath/JMatrix2D.hh.
      
  | 
  inherited | 
Definition at line 347 of file JMath/JMatrix2D.hh.
 1.8.5