Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.apo.nmsu.edu/Telescopes/coordConv/html/classcoord_conv_1_1_p_v_t_coord.html
Дата изменения: Thu May 7 21:42:47 2015
Дата индексирования: Sun Apr 10 05:09:22 2016
Кодировка:

Поисковые слова: п п п п п п п п п п п п п п п п п п п п п п п п п п п п
lsst.coordConv: coordConv::PVTCoord Class Reference
lsst.coordConv  unknown
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
coordConv::PVTCoord Class Reference

#include <pvtCoord.h>

Public Member Functions

 PVTCoord (Coord const &coord, Eigen::Vector3d const &vel, double tai)
 
 PVTCoord (Coord const &coord0, Coord const &coord1, double tai, double deltaT)
 
 PVTCoord (PVT const &equatPVT, PVT const &polarPVT, PVT const &distPVT=PVT())
 
 PVTCoord (PVT const &equatPVT, PVT const &polarPVT, PVT const &distPVT, double equatPM, double polarPM, double radVel)
 
 PVTCoord ()
 
PVTCoord copy (double tai) const
 
Eigen::Vector3d getVel () const
 
double getTAI () const
 
Coord getCoord () const
 
Coord getCoord (double tai) const
 
bool isfinite () const
 
bool getSphPVT (PVT &equatPVT, PVT &polarPVT) const
 
PVT getDistance () const
 
PVT angularSeparation (PVTCoord const &pvtCoord) const
 
PVT orientationTo (PVTCoord const &pvtCoord) const
 
PVTCoord offset (PVT &toOrient, PVT const &fromOrient, PVT const &dist) const
 
bool operator== (PVTCoord const &rhs)
 
bool operator!= (PVTCoord const &rhs)
 
std::string __repr__ () const
 

Detailed Description

A coordinate moving at a constant cartesian velocity

Primarily intended for computing instantaneous velocity by comparing two Coord at nearby time.

Definition at line 13 of file pvtCoord.h.

Constructor & Destructor Documentation

coordConv::PVTCoord::PVTCoord ( Coord const &  coord,
Eigen::Vector3d const &  vel,
double  tai 
)
explicit

Construct a PVTCoord from a coord, vector velocity and time

Parameters
[in]coordcoordinate at time tai
[in]velcartesian velocity (deg/sec)
[in]taiTAI date of coord (MJD seconds)
Exceptions
std::runtime_errorif coord is at pole at time tai and vel nonzero.

Definition at line 15 of file pvtCoord.cc.

coordConv::PVTCoord::PVTCoord ( Coord const &  coord0,
Coord const &  coord1,
double  tai,
double  deltaT 
)
explicit

Construct a PVTCoord from a pair of coords

Parameters
[in]coord0coordinate at time tai
[in]coord1coordinate at time tai + deltaT; proper motion and radial velocity are ignored
[in]taiinitial TAI date of PVTCoord (MJD seconds)
[in]deltaTTAI of coord1 - TAI of coord0; must be nonzero
Exceptions
std::runtime_errorif deltaT = 0

Definition at line 21 of file pvtCoord.cc.

coordConv::PVTCoord::PVTCoord ( PVT const &  equatPVT,
PVT const &  polarPVT,
PVT const &  distPVT = PVT() 
)
explicit

Construct a PVTCoord from spherical PVTs and distance at TAI date equatPVT.t

Parameters
[in]equatPVTequatorial angle (e.g. RA, Long, Az) (degrees)
[in]polarPVTpolar angle (e.g. Dec, Latitude, Alt) (degrees)
[in]distPVTdistance (AU); if invalid (!distPVT.isfinite()) then infinity is assumed
Exceptions
std::runtime_errorif equatPVT.t != polarPVT.t

Definition at line 25 of file pvtCoord.cc.

coordConv::PVTCoord::PVTCoord ( PVT const &  equatPVT,
PVT const &  polarPVT,
PVT const &  distPVT,
double  equatPM,
double  polarPM,
double  radVel 
)
explicit

Construct a PVTCoord from spherical PVTs, parallax, proper motion and radial velocity at TAI date equatPVT.t

Parameters
[in]equatPVTequatorial angle (e.g. RA, Long, Az) (degrees)
[in]polarPVTpolar angle (e.g. Dec, Latitude, Alt) (degrees)
[in]distPVTdistance (AU)
[in]equatPMequatorial proper motion (arcsec/century); this is dEquatAng/dt, so it gets large near the pole
[in]polarPMpolar proper motion (arcsec/century)
[in]radVelradial velocity (km/sec, positive receding)
Exceptions
std::runtime_errorif equatPVT.t != polarPVT.t

Definition at line 49 of file pvtCoord.cc.

coordConv::PVTCoord::PVTCoord ( )
explicit

Construct a PVTCoord with all NaN data

Definition at line 73 of file pvtCoord.cc.

Member Function Documentation

std::string coordConv::PVTCoord::__repr__ ( ) const

Return a string representation

Definition at line 176 of file pvtCoord.cc.

PVT coordConv::PVTCoord::angularSeparation ( PVTCoord const &  pvtCoord) const

Compute the angular separation from another PVTCoord

The separation is computed at the date of this pvtCoord

Parameters
[in]pvtCoordPVT coord to which to measure angular separation
Returns
angular separation (deg)

Definition at line 121 of file pvtCoord.cc.

PVTCoord coordConv::PVTCoord::copy ( double  tai) const

Copy PVTCoord at the specified date

Parameters
[in]taiTAI date at which to retrieve position (MJD, sec)

Definition at line 79 of file pvtCoord.cc.

Coord coordConv::PVTCoord::getCoord ( ) const
inline

Return Coord at initial TAI date

Definition at line 95 of file pvtCoord.h.

Coord coordConv::PVTCoord::getCoord ( double  tai)