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_rad () | |
Default constructor. | |
angle_type_rad (const double theta, const double phi) | |
Constructor. | |
angle_type_rad (const angle_type_deg &angle) | |
Conversion constructor. | |
void | set (const angle_type_deg &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_deg |
struct | J2000 |
Auxiliary data structure for pair of angles.
Definition at line 258 of file JAstronomy.hh.
|
inline |
|
inline |
Constructor.
theta | theta [rad] |
phi | phi [rad] |
Definition at line 274 of file JAstronomy.hh.
JASTRONOMY::angle_type_rad::angle_type_rad | ( | const angle_type_deg & | angle | ) |
Conversion constructor.
angle | angle [deg] |
Definition at line 357 of file JAstronomy.hh.
|
inline |
Convert angle.
angle | angle [rad] |
Definition at line 293 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 299 of file JAstronomy.hh.
|
friend |
Definition at line 300 of file JAstronomy.hh.
|
protectedinherited |
Definition at line 250 of file JAstronomy.hh.
|
protectedinherited |
Definition at line 251 of file JAstronomy.hh.