Jpp 19.3.0
the software that should make you happy
|
Auxiliary data structure for pair of angles. More...
#include <JAstronomy.hh>
Public Member Functions | |
angle_type_deg () | |
Default constructor. | |
angle_type_deg (const double theta, const double phi) | |
Constructor. | |
angle_type_deg (const angle_type_rad &angle) | |
Conversion constructor. | |
void | set (const angle_type_rad &angle) |
Convert angle. | |
bool | equals (const angle_type &angle, const double precision=std::numeric_limits< double >::min()) const |
Check equality. | |
Protected Attributes | |
double | _theta_ |
double | _phi_ |
Friends | |
struct | angle_type_rad |
Auxiliary data structure for pair of angles.
Definition at line 307 of file JAstronomy.hh.
|
inline |
|
inline |
Constructor.
theta | theta [deg] |
phi | phi [deg] |
Definition at line 323 of file JAstronomy.hh.
JASTRONOMY::angle_type_deg::angle_type_deg | ( | const angle_type_rad & | angle | ) |
Conversion constructor.
angle | angle [rad] |
Definition at line 367 of file JAstronomy.hh.
|
inline |
Convert angle.
angle | angle [rad] |
Definition at line 342 of file JAstronomy.hh.
|
inlineinherited |
Check equality.
angle | pair of angles |
precision | precision |
Definition at line 194 of file JAstronomy.hh.
|
friend |
Definition at line 348 of file JAstronomy.hh.
|
protectedinherited |
Definition at line 250 of file JAstronomy.hh.
|
protectedinherited |
Definition at line 251 of file JAstronomy.hh.