Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.apo.nmsu.edu/Telescopes/coordConv/html/classcoord_conv_1_1_f_k5_coord_sys.html
Дата изменения: Thu May 7 21:42:46 2015
Дата индексирования: Sun Apr 10 05:16:42 2016
Кодировка:
lsst.coordConv: coordConv::FK5CoordSys Class Reference
lsst.coordConv  unknown
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Protected Member Functions | List of all members
coordConv::FK5CoordSys Class Reference

#include <coordSys.h>

Inheritance diagram for coordConv::FK5CoordSys:
coordConv::MeanCoordSys coordConv::CoordSys

Public Member Functions

 FK5CoordSys (double date=2000.0)
 
virtual ~FK5CoordSys ()
 
virtual CoordSys::Ptr clone () const
 
virtual CoordSys::Ptr clone (double date) const
 
virtual Coord fromFK5J2000 (Coord const &coord, Site const &site) const
 
virtual Coord toFK5J2000 (Coord const &coord, Site const &site) const
 
virtual std::string __repr__ () const
 
- Public Member Functions inherited from coordConv::MeanCoordSys
 MeanCoordSys (std::string const &name, double date, DateTypeEnum dateType=DateType_Julian)
 
virtual ~MeanCoordSys ()
 
virtual double dateFromTAI (double tai) const
 
virtual double taiFromDate (double date) const
 
virtual Coord removePM (Coord const &coord, double tai) const
 
- Public Member Functions inherited from coordConv::CoordSys
 CoordSys (std::string const &name, double date, DateTypeEnum dateType, bool isMean, bool canConvert)
 
virtual ~CoordSys ()
 Destructor. More...
 
DateTypeEnum getDateType () const
 
std::string getName () const
 
bool canConvert () const
 
bool isMean () const
 
bool isCurrent () const
 
double getDate (bool zeroIfCurrent=true) const
 
void setDate (double date)
 
void setCurrDate (double date) const
 
virtual Coord convertFrom (CoordSys const &fromCoordSys, Coord const &fromCoord, Site const &site, double tai=0) const
 
virtual PVTCoord convertFrom (CoordSys const &fromCoordSys, PVTCoord const &fromPVTCoord, Site const &site) const
 
virtual Coord convertFrom (double &toDir, double &scaleChange, CoordSys const &fromCoordSys, Coord const &fromCoord, double fromDir, Site const &site, double tai=0) const
 
virtual PVTCoord convertFrom (PVT &toDir, double &scaleChange, CoordSys const &fromCoordSys, PVTCoord const &fromPVTCoord, PVT const &fromDir, Site const &site) const
 
virtual PVTCoord removePM (PVTCoord const &pvtCoord)
 
bool operator== (CoordSys const &rhs)
 Equality operator; a method instead of a free function to simplify SWIG wrapping. More...
 
bool operator!= (CoordSys const &rhs)
 Inequality operator; a method instead of a free function to simplify SWIG wrapping. More...
 

Protected Member Functions

virtual void _setDate (double date) const
 

Additional Inherited Members

- Public Types inherited from coordConv::CoordSys
typedef boost::shared_ptr
< CoordSys
Ptr
 
typedef boost::shared_ptr
< const CoordSys
ConstPtr
 
- Protected Attributes inherited from coordConv::CoordSys
std::string _name
 
double _date
 name of coordinate system More...
 
DateTypeEnum _dateType
 date of coordinate system (units depend on coordinate system) More...
 
bool _isMean
 date type More...
 
bool _isCurrent
 true for mean coordinate systems More...
 
bool _canConvert
 true if coordinate system is current More...
 

Detailed Description

FK5 RA, Dec; date is Julian years, and is both the date of observation and the date of equinox

Cannot be current because it has a date of equinox

Definition at line 298 of file coordSys.h.

Constructor & Destructor Documentation

coordConv::FK5CoordSys::FK5CoordSys ( double  date = 2000.0)
explicit

Construct an FK5CoordSys

Parameters
[in]datedate of equinox and date of observation in Julian years
Exceptions
std::runtime_errorif date=0 (since FK5CoordSys cannot be current)

Definition at line 12 of file fk5CoordSys.cc.

virtual coordConv::FK5CoordSys::~FK5CoordSys ( )
inlinevirtual

Definition at line 307 of file coordSys.h.

Member Function Documentation

std::string coordConv::FK5CoordSys::__repr__ ( ) const
virtual

Return a string representation

Implements coordConv::CoordSys.

Definition at line 82 of file fk5CoordSys.cc.

void coordConv::FK5CoordSys::_setDate ( double  date) const
protectedvirtual

Set the date of this coordinate system

The units depend on the specific coordinate system

Reimplemented from coordConv::CoordSys.

Definition at line 20 of file fk5CoordSys.cc.

CoordSys::Ptr coordConv::FK5CoordSys::clone ( ) const
virtual

Return a copy with the same date

Implements coordConv::CoordSys.

Definition at line 36 of file fk5CoordSys.cc.

CoordSys::Ptr coordConv::FK5CoordSys::clone ( double  date) const
virtual

Return a copy with a specified date

Implements coordConv::CoordSys.

Definition at line 40 of file fk5CoordSys.cc.

Coord coordConv::FK5CoordSys::fromFK5J2000 ( Coord const &  coord,
Site const &  site 
) const
virtual

Convert a coordinate from FK5 at date of observation J2000 to this system at this date

Parameters
[in]coordposition in ICRS coordinates at date of observation J2000
[in]sitesite information
Returns
position in this coordinate system

Implements coordConv::CoordSys.

Definition at line 44 of file fk5CoordSys.cc.

Coord coordConv::FK5CoordSys::toFK5J2000 ( Coord const &  coord,
Site const &  site 
) const
virtual

Convert a coordinate to FK5 at date of observation J2000 from this coordinate system at this date

Parameters
[in]coordposition in this coordinate system at this date
[in]sitesite information
Returns
position in ICRS coordinates at date of observation J2000

Implements coordConv::CoordSys.

Definition at line 63 of file fk5CoordSys.cc.


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