#include <AntarcticaGeometry.h>
Public Member Functions | |
PayloadParameters (const Adu5Pat *pat, const AntarcticCoord &source_pos, const Refraction::Model *refraction=0) | |
PayloadParameters (const PayloadParameters &other) | |
bool | checkForCollision (double dx=100, AntarcticCoord *where=0, AntarcticCoord *where_exit=0, RampdemReader::dataSet d=RampdemReader::rampdem, double grace=20, bool reverse=false) const |
Static Public Member Functions | |
static double | getHorizon (double phi, const Adu5Pat *gps, const Refraction::Model *refractionModel=0, double tol=5e-6, RampdemReader::dataSet rampdemData=RampdemReader::rampdem) |
static int | findSourceOnContinent (double theta, double phi, const Adu5Pat *gps, PayloadParameters *fillme, const Refraction::Model *m=0, double collision_check_dx=0, double min_dx=5, double tol=5e-6, double min_el=0, RampdemReader::dataSet d=RampdemReader::rampdem) |
Public Attributes | |
double | source_phi |
double | source_theta |
double | payload_el |
double | payload_az |
double | distance |
double | apparent_source_theta |
double | apparent_payload_el |
AntarcticCoord | payload |
AntarcticCoord | source |
Class to hold angular positions of source / payload in each other's frame
Definition at line 232 of file AntarcticaGeometry.h.
|
static |
This is my version of the trace back to continent functions. I'm not sure it does exactly the right thing because of the altitude change, but it follows the geodesic in the phi direction until the payload coordinates match what they're supposed to.
Returns 1 on success, 0 if over horizon (but fills in payload position with the point at the horizon), -1 if doesn't converge to tolerance (but fills in closest)
Definition at line 739 of file AntarcticaGeometry.cxx.