36 explicit Coord(
double equatAng,
double polarAng,
double parallax=0);
49 explicit Coord(
double equatAng,
double polarAng,
double parallax,
double equatPM,
double polarPM,
double radVel);
57 explicit Coord(Eigen::Vector3d
const &pos);
66 explicit Coord(Eigen::Vector3d
const &pos, Eigen::Vector3d
const &pm);
86 bool atPole()
const {
return _atPole; }
110 bool getSphPos(
double &equatAng,
double &polarAng)
const;
119 bool getPM(
double &equatPM,
double &polarPM)
const;
135 Eigen::Vector3d
const getVecPos()
const {
return _pos; }
142 Eigen::Vector3d
const getVecPM()
const {
return _pm; }
189 Coord offset(
double &toOrient,
double fromOrient,
double dist)
const;
205 Eigen::Vector3d _pos;
220 void _setPosFromSph(
double equatAng,
double polarAng,
double parallax);
230 std::ostream &
operator<<(std::ostream &out, Coord
const &coord);
double angularSeparation(Coord const &coord) const
std::string __repr__() const
bool getSphPos(double &equatAng, double &polarAng) const
Eigen::Vector3d const getVecPM() const
double distanceFromParallax(double parallax)
bool getPM(double &equatPM, double &polarPM) const
double parallaxFromDistance(double dist)
Coord offset(double &toOrient, double fromOrient, double dist) const
Eigen::Vector3d const getVecPos() const
double getParallax() const
double orientationTo(Coord const &coord) const
std::ostream & operator<<(std::ostream &out, Coord const &coord)
bool operator==(Coord const &rhs)
double getDistance() const
bool operator!=(Coord const &rhs)