|
My Project
|
#include <Location.h>
Public Types | |
| enum | ReqParam { NONE = 0x0, SITE = 0x2, LOCATION = 0x4, ALL = SITE | LOCATION } |
Public Member Functions | |
| Location () | |
| virtual | ~Location () |
| void | setFiducialSite (Angle longitude, Angle latitude, double altitude) |
| void | setOffset (double up, double east, double north) |
| bool | canLocate () |
| bool | canBracket (double mjdUtc) |
| bool | changed () |
| Angle | longitude (bool fiducial) |
| Angle | latitude (bool fiducial) |
| double | altitude (bool fiducial) |
| Vector< double > | getXyz (bool geocentric=true) |
| double | X (bool ec=true) |
| double | Y (bool ec=true) |
| double | Z (bool ec=true) |
| Vector< double > | getUen () |
| double | up () |
| double | east () |
| double | north () |
| Delay | geometricDelay (HourAngle ha, DecAngle dec, Location &refLoc, bool doMotionCorrection) |
| Delay | geometricDelay (Angle az, Angle el, Location &refLoc) |
| void | registerLocationCallback (DelayLocation *delayLocation) |
| HourAngle | getLst (double mjd) |
| HourAngle | getHa (double mjdUtc, HourAngle ra) |
| HourAngle | getHa (double mjdUtc, Source *src) |
| Astrometry & | ephem () |
Friends | |
| class | DelayLocation |
A class for specifying a location
Parameters required to specify a location
| Location::Location | ( | ) |
Constructor.
....................................................................... Constructor.
|
virtual |
Destructor.
....................................................................... Destructor.
| bool gcp::util::Location::canBracket | ( | double | mjdUtc | ) |
Return true if ephemeris parameters can be interpolated for this timestamp
| bool Location::canLocate | ( | ) |
Return true if a site and offset have ben set for this location
....................................................................... Return true if a site and offset have ben set for this location
| bool gcp::util::Location::changed | ( | ) |
Return true if parameters for this location have changed since the last time this function was called.
|
inline |
Return a handle to the ephemeris handler
| Delay Location::geometricDelay | ( | HourAngle | ha, |
| DecAngle | dec, | ||
| Location & | refLoc, | ||
| bool | doMotionCorrection | ||
| ) |
Get geometric delay for an Ha Dec source position, in nanoseconds
....................................................................... Get geometric delay for an Ha Dec source position, in nanoseconds.
Get geometric delay for an Az El source position, in nanoseconds
....................................................................... Get geometric delay for an Az El source position, in nanoseconds
Convert to Ha for the actual location of this antenna
....................................................................... Convert to Ha for the actual location of this antenna
| HourAngle Location::getLst | ( | double | mjdUtc | ) |
Convert mjd to lst for the location of this antenna
....................................................................... Convert mjd to lst for the actual location of this antenna
|
inline |
Return the UEN coordinates (meters) of this object.
|
inline |
Return the XYZ coordinates (meters) of this object.
| earthCentered | If true, return positions relative to the center of the earth |
|
inline |
Return the LLA coordinates (long in rad, lat in rad, altitude in meters) of this object.
| void Location::registerLocationCallback | ( | DelayLocation * | location | ) |
Register to be called back when this object's location is updated
....................................................................... Register to be called back when this object's location is updated
A method to set a fiducial LLA point
....................................................................... A method to set a fiducial LLA point
| void Location::setOffset | ( | double | up, |
| double | east, | ||
| double | north | ||
| ) |
A method to set an UEN offset relative to the fiducial
....................................................................... A method to set an UEN offset relative to the fiducial