|
Jpp 21.0.1
the software that should make you happy
|
Auxiliary data structure to group direction sets. More...
#include <JOmega3D.hh>
Public Types | |
| typedef std::pair< double, double > | range_type |
Public Member Functions | |
| double | getTheta () const |
| Get theta angle. | |
| double | getPhi () const |
| Get phi angle. | |
| double | getDX () const |
| Get x direction. | |
| double | getDY () const |
| Get y direction. | |
| double | getDZ () const |
| Get z direction. | |
| JAngle3D & | negate () |
| Negate angle. | |
| JAngle3D & | add (const JAngle3D &angle) |
| Add angle. | |
| JAngle3D & | sub (const JAngle3D &angle) |
| Subtract angle. | |
| JAngle3D & | mul (const double factor) |
| Scale angle. | |
| JFirst_t & | mul (const JSecond_t &object) |
| Multiply with object. | |
| JAngle3D & | div (const double factor) |
| Scale angle. | |
| bool | equals (const JAngle3D &angle, const double precision=std::numeric_limits< double >::min()) const |
| Check equality. | |
| double | getDot (const JAngle3D &angle) const |
| Get dot product. | |
| JAngle3D & | normalise () |
| Normalise angles. | |
| void | configure (const JAngle3D &dir, const range_type &theta, const double grid) |
| Configure direction set. | |
| int | find (const JAngle3D &dir) const |
| Get index of direction closest to given direction. | |
Static Public Member Functions | |
| static double | getAngle (const size_t N) |
| Get approximate angular spacing given number of directions. | |
Protected Attributes | |
| double | __theta |
| double | __phi |
Auxiliary data structure to group direction sets.
Definition at line 186 of file JOmega3D.hh.
|
inherited |
Definition at line 32 of file JOmega3D.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Scale angle.
| factor | multiplication factor |
Definition at line 185 of file JAngle3D.hh.
|
inlineinherited |
|
inlineinherited |
Scale angle.
| factor | division factor |
Definition at line 200 of file JAngle3D.hh.
|
inlineinherited |
Check equality.
| angle | angle |
| precision | precision |
Definition at line 216 of file JAngle3D.hh.
|
inlineinherited |
Get dot product.
| angle | angle |
Definition at line 230 of file JAngle3D.hh.
|
inlineinherited |
Normalise angles.
Definition at line 247 of file JAngle3D.hh.
|
inlineinherited |
Configure direction set.
| dir | principal direction |
| theta | polar angle range [rad] |
| grid | angular spacing [rad] |
Definition at line 126 of file JOmega3D.hh.
|
inlinestaticinherited |
Get approximate angular spacing given number of directions.
| N | number of directions |
Definition at line 173 of file JOmega3D.hh.
|
inlineinherited |
Get index of direction closest to given direction.
| dir | direction |
Definition at line 41 of file JOmega3D.hh.
|
protectedinherited |
Definition at line 326 of file JAngle3D.hh.
|
protectedinherited |
Definition at line 327 of file JAngle3D.hh.