Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.apo.nmsu.edu/Telescopes/TCC/html/classtcc_1_1_p_v_a_j_t.html
Дата изменения: Tue Sep 15 02:25:38 2015
Дата индексирования: Sun Apr 10 02:10:21 2016
Кодировка:

Поисковые слова: images
lsst.tcc: tcc::PVAJT Class Reference
lsst.tcc  1.2.2-3-g89ecb63
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
tcc::PVAJT Class Reference

#include <pvajt.h>

Public Member Functions

 PVAJT (double pos, double vel, double accel, double jerk, double t)
 
 PVAJT (coordConv::PVT const &pvt)
 
 PVAJT ()
 
PVAJT extrapolate (double t) const
 Extrapolate to a specified time, assuming a path of constant jerk. More...
 
bool isfinite () const
 Are all values finite? (Does it have finite pos, vel and t)? More...
 
bool operator== (PVAJT const &rhs)
 
bool operator!= (PVAJT const &rhs)
 
std::string __repr__ () const
 

Public Attributes

double pos
 
double vel
 
double accel
 
double jerk
 
double t
 

Detailed Description

Position, velocity, acceleration, jerk and time

Compared to coordConv::PVT this object is somewhat restricted: the object is const and has no mathematical operators.

Uses standard TCC conventions: position is in degrees velocity is in degrees/second acceleration is in degrees/second^2 jerk is in degrees/second^3 t is TAI (MJD, seconds)

Definition at line 23 of file pvajt.h.

Constructor & Destructor Documentation

tcc::PVAJT::PVAJT ( double  pos,
double  vel,
double  accel,
double  jerk,
double  t 
)
explicit

Construct from specified position, velocity and time

Parameters
posposition (deg)
velvelocity (deg/sec)
accelacceleration (deg/sec^2)
jerkjerk (deg/sec^3)
tTAI date (MJD, sec)

Definition at line 10 of file pvajt.cc.

tcc::PVAJT::PVAJT ( coordConv::PVT const &  pvt)
explicit

Construct a PVAJT from a coordConv::PVT

Assumes PVT units are degrees, deg/sec and sec.

Definition at line 19 of file pvajt.cc.

tcc::PVAJT::PVAJT ( )
explicit

Construct a PVAJT with all fields NaN

Definition at line 28 of file pvajt.cc.

Member Function Documentation

std::string tcc::PVAJT::__repr__ ( ) const

Return a string representation

Definition at line 38 of file pvajt.cc.

PVAJT tcc::PVAJT::extrapolate ( double  t) const
inline

Extrapolate to a specified time, assuming a path of constant jerk.

Definition at line 51 of file pvajt.h.

bool tcc::PVAJT::isfinite ( ) const
inline

Are all values finite? (Does it have finite pos, vel and t)?

Definition at line 62 of file pvajt.h.

bool tcc::PVAJT::operator!= ( PVAJT const &  rhs)
inline

Definition at line 78 of file pvajt.h.

bool tcc::PVAJT::operator== ( PVAJT const &  rhs)
inline

Definition at line 70 of file pvajt.h.

Member Data Documentation

double tcc::PVAJT::accel

Definition at line 25 of file pvajt.h.

double tcc::PVAJT::jerk

Definition at line 25 of file pvajt.h.

double tcc::PVAJT::pos

Definition at line 25 of file pvajt.h.

double tcc::PVAJT::t

Definition at line 25 of file pvajt.h.

double tcc::PVAJT::vel

Definition at line 25 of file pvajt.h.


The documentation for this class was generated from the following files: