Routines to deal with polar math and transformations. More...
#include <simgear/math/point3d.hxx>#include "SGMath.hxx"Go to the source code of this file.
Functions | |
| Point3D | calc_gc_lon_lat (const Point3D &orig, double course, double dist) |
| Calculate new lon/lat given starting lon/lat, and offset radial, and distance. | |
| void | calc_gc_course_dist (const Point3D &start, const Point3D &dest, double *course, double *dist) |
| Calculate course/dist given two spherical points. | |
Routines to deal with polar math and transformations.
Definition in file polar3d.hxx.
| void calc_gc_course_dist | ( | const Point3D & | start, | |
| const Point3D & | dest, | |||
| double * | course, | |||
| double * | dist | |||
| ) | [inline] |
Calculate course/dist given two spherical points.
| start | starting point | |
| dest | ending point | |
| course | resulting course | |
| dist | resulting distance |
Definition at line 59 of file polar3d.hxx.
Calculate new lon/lat given starting lon/lat, and offset radial, and distance.
NOTE: starting point is specifed in radians, distance is specified in meters (and converted internally to radians) ... assumes a spherical world.
| orig | specified in polar coordinates | |
| course | offset radial | |
| dist | offset distance |
Definition at line 48 of file polar3d.hxx.
1.6.1