PCL
|
Positional data of a star. More...
#include <Position.h>
Public Member Functions | |
StarPosition ()=default | |
StarPosition (const StarPosition &x) | |
StarPosition (double ra, double dec, double properMotionRA=0, double properMotionDec=0, double parallax=0, double radialVelocity=0, TimePoint epoch=TimePoint::J2000()) | |
StarPosition & | operator= (const StarPosition &x) |
Public Attributes | |
double | alpha = 0 |
ICRS right ascension in degrees. | |
double | delta = 0 |
ICRS declination in degrees. | |
double | muAlpha = 0 |
Proper motion in right ascension, mas/year * cos( delta ). | |
double | muDelta = 0 |
Proper motion in declination, in mas/year. | |
double | p = 0 |
Parallax in arcseconds. | |
TimePoint | t0 = TimePoint::J2000() |
Epoch of coordinates. | |
double | v = 0 |
Radial velocity in km/s, positive away from Earth. | |
This structure provides the data necessary for reduction of star positions with the following member functions:
Position::Geometric( const StarPosition& )
Position::Astrometric( const StarPosition& )
Position::Proper( const StarPosition& )
Position::Apparent( const StarPosition& )
Position::Intermediate( const StarPosition& )
Definition at line 83 of file Position.h.
|
default |
Default constructor. See data members for default values.
|
inline |
Copy constructor.
Definition at line 101 of file Position.h.
|
inline |
Memberwise constructor.
ra | Right ascension equatorial coordinate in degrees. Can be specified in the range [-180,+180] or [0,360) indistinctly. |
dec | Declination equatorial coordinate in degrees. Should be in the [-90,+90] range. |
properMotionRA | Proper motion in right ascension, in mas/year, measured on a great circle, that is, the specified value must be the proper motion in R.A. multiplied by the cosine of the declination. Zero by default. |
properMotionDec | Proper motion in declination, in mas/year. Zero by default. |
parallax | Parallax in arcseconds. Zero by default. |
radialVelocity | Radial velocity in km/s, positive away from the Earth. Zero by default. |
epoch | Epoch of catalog coordinates. J2000.0 by default. |
Positions and proper motions must be referred to ICRS/J2000.0.
If out-of-range coordinates are specified, their values will be constrained to their proper ranges: right ascension to [0°,360°) and declination to [-90°,+90°].
Definition at line 159 of file Position.h.
|
inline |