You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
626 B
22 lines
626 B
#ifndef QGCGEO_H |
|
#define QGCGEO_H |
|
|
|
#define DEG2RAD (M_PI/180.0) |
|
|
|
/* Safeguard for systems lacking sincos (e.g. Mac OS X Leopard) */ |
|
#ifndef sincos |
|
#define sincos(th,x,y) { (*(x))=sin(th); (*(y))=cos(th); } |
|
#endif |
|
|
|
|
|
/** |
|
* Converting from latitude / longitude to tangent on earth surface |
|
* @link http://psas.pdx.edu/CoordinateSystem/Latitude_to_LocalTangent.pdf |
|
* @link http://dspace.dsto.defence.gov.au/dspace/bitstream/1947/3538/1/DSTO-TN-0432.pdf |
|
*/ |
|
//void LatLonToENU(double lat, double lon, double alt, double originLat, double originLon, double originAlt, double* x, double* y, double* z) |
|
//{ |
|
|
|
//} |
|
|
|
#endif // QGCGEO_H
|
|
|