|
| Coord (double equatAng, double polarAng, double parallax=0) |
|
| Coord (double equatAng, double polarAng, double parallax, double equatPM, double polarPM, double radVel) |
|
| Coord (Eigen::Vector3d const &pos) |
|
| Coord (Eigen::Vector3d const &pos, Eigen::Vector3d const &pm) |
|
| Coord () |
|
| ~Coord () |
|
bool | atInfinity () const |
|
bool | atPole () const |
|
double | getDistance () const |
|
double | getParallax () const |
|
bool | getSphPos (double &equatAng, double &polarAng) const |
|
bool | getPM (double &equatPM, double &polarPM) const |
|
double | getRadVel () const |
|
Eigen::Vector3d const | getVecPos () const |
|
Eigen::Vector3d const | getVecPM () const |
|
bool | isfinite () const |
|
double | angularSeparation (Coord const &coord) const |
|
double | orientationTo (Coord const &coord) const |
|
Coord | offset (double &toOrient, double fromOrient, double dist) const |
|
bool | operator== (Coord const &rhs) |
|
bool | operator!= (Coord const &rhs) |
|
std::string | __repr__ () const |
|
Coordinates represent target position and proper motion.
The coordinate system is always right handed, so azimuth is 0 south, 90 east (and hour angle is negated, though it is not visible in very much of the API).
Access is available as spherical coordinates and cartesian vectors.
If parallax < MinParallax / 0.9 then isInfinity() returns true and parallax is reported as 0. Having a lower limit prevents vector operations from overflowing.
Definition at line 27 of file coord.h.