Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.apo.nmsu.edu/Telescopes/coordConv/html/classcoord_conv_1_1_coord.html
Дата изменения: Thu May 7 21:42:46 2015 Дата индексирования: Sun Apr 10 04:33:35 2016 Кодировка: IBM-866 Поисковые слова: п п п п п п п п п п п п п п п п п п п п п п п п п п |
lsst.coordConv
unknown
|
#include <coord.h>
Public Member Functions | |
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.
|
explicit |
|
explicit |
Construct a Coord from spherical position and proper motion
[in] | equatAng | equatorial angle (e.g. RA, Long, Az) (degrees) |
[in] | polarAng | polar angle (e.g. Dec, Latitude, Alt) (degrees) |
[in] | parallax | parallax (arcsec) |
[in] | equatPM | equatorial proper motion (arcsec/century); this is dEquatAng/dt, so it gets large near the pole |
[in] | polarPM | polar proper motion (arcsec/century) |
[in] | radVel | radial velocity (km/sec, positive receding) |
|
explicit |
|
explicit |
|
explicit |
std::string coordConv::Coord::__repr__ | ( | ) | const |
double coordConv::Coord::angularSeparation | ( | Coord const & | coord | ) | const |
|
inline |
|
inline |
|
inline |
double coordConv::Coord::getParallax | ( | ) | const |
bool coordConv::Coord::getPM | ( | double & | equatPM, |
double & | polarPM | ||
) | const |
Get proper motion
[out] | equatPM | equatorial component of proper motion (e.g. dRA/dt) (arcsec/century) |
[out] | polarPM | polar component of proper motion (e.g. dDec/dt) (arcsec/century) |
Definition at line 98 of file