| 
    Jpp
    15.0.1-rc.1-highqe
    
   the software that should make you happy 
   | 
 
Data structure for angle in two dimensions. More...
#include <JAngle2D.hh>
  
 Public Member Functions | |
| JAngle2D () | |
| Default constructor.  More... | |
| JAngle2D (const double phi) | |
| Constructor.  More... | |
| JAngle2D (const double x, const double y) | |
| Constructor.  More... | |
| double | getPhi () const | 
| Get phi angle.  More... | |
| double | getDX () const | 
| Get x direction.  More... | |
| double | getDY () const | 
| Get y direction.  More... | |
| JAngle2D & | negate () | 
| Negate angle.  More... | |
| JAngle2D & | add (const JAngle2D &angle) | 
| Add angle.  More... | |
| JAngle2D & | sub (const JAngle2D &angle) | 
| Subtract angle.  More... | |
| JAngle2D & | mul (const double factor) | 
| Scale angle.  More... | |
| JAngle2D & | div (const double factor) | 
| Scale angle.  More... | |
| bool | equals (const JAngle2D &angle, const double precision=std::numeric_limits< double >::min()) const | 
| Check equality.  More... | |
| double | getDot (const JAngle2D &angle) const | 
| Get dot product.  More... | |
| JAngle2D & | normalise () | 
| Normalise angle.  More... | |
| JFirst_t & | mul (const JSecond_t &object) | 
| Multiply with object.  More... | |
Protected Attributes | |
| double | __phi | 
Friends | |
| std::istream & | operator>> (std::istream &in, JAngle2D &angle) | 
| Read angle from input.  More... | |
| std::ostream & | operator<< (std::ostream &out, const JAngle2D &angle) | 
| Write angle to output.  More... | |
| JReader & | operator>> (JReader &in, JAngle2D &angle) | 
| Read angle from input.  More... | |
| JWriter & | operator<< (JWriter &out, const JAngle2D &angle) | 
| Write angle to output.  More... | |
Data structure for angle in two dimensions.
This class serves as input to the rotation matrix JRotation2D.
Definition at line 33 of file JAngle2D.hh.
      
  | 
  inline | 
Default constructor.
Definition at line 40 of file JAngle2D.hh.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Scale angle.
| factor | multiplication factor | 
Definition at line 147 of file JAngle2D.hh.
      
  | 
  inline | 
Scale angle.
| factor | division factor | 
Definition at line 161 of file JAngle2D.hh.
      
  | 
  inline | 
Check equality.
| angle | angle | 
| precision | precision | 
Definition at line 176 of file JAngle2D.hh.
      
  | 
  inline | 
Get dot product.
| angle | angle | 
Definition at line 189 of file JAngle2D.hh.
      
  | 
  inline | 
Normalise angle.
Definition at line 202 of file JAngle2D.hh.
      
  | 
  inlineinherited | 
Multiply with object.
| object | object | 
Definition at line 357 of file JMath.hh.
      
  | 
  friend | 
Read angle from input.
| in | input stream | 
| angle | angle | 
Definition at line 220 of file JAngle2D.hh.
      
  | 
  friend | 
Write angle to output.
| out | output stream | 
| angle | angle | 
Definition at line 233 of file JAngle2D.hh.
Read angle from input.
| in | reader | 
| angle | angle | 
Definition at line 248 of file JAngle2D.hh.
Write angle to output.
| out | writer | 
| angle | angle | 
Definition at line 261 of file JAngle2D.hh.
      
  | 
  protected | 
Definition at line 267 of file JAngle2D.hh.
 1.8.5