Provides basic transformations.
More...
#include <crs_geodesic_calculation.h>
Inherits ISDKComponent.
|
| virtual SDKResult SDK_CALLTYPE | Direct (double lat1, double lon1, double azi, double dist, double &lat2, double &lon2) const =0 throw () |
| | Perform the direct geodesic calculation. More...
|
| |
| virtual SDKResult SDK_CALLTYPE | Inverse (double lat1, double lon1, double lat2, double lon2, double &dist, double &azi1, double &azi2) const =0 throw () |
| | Perform the inverse geodesic calculation. More...
|
| |
| virtual SDKResult SDK_CALLTYPE | GeodesicLine (double lat1, double lon1, double lat2, double lon2, double distance_between_wp, GeodesicLineType type, geometry::IPointCollection **points) const =0 throw () |
| | Perform the Great Circle approximation. More...
|
| |
Provides basic transformations.
◆ Direct()
| virtual SDKResult SDK_CALLTYPE Direct |
( |
double |
lat1, |
|
|
double |
lon1, |
|
|
double |
azi, |
|
|
double |
dist, |
|
|
double & |
lat2, |
|
|
double & |
lon2 |
|
) |
| const |
| throw | ( | |
| ) | | |
|
pure virtual |
Perform the direct geodesic calculation.
- Parameters
-
| [in] | lat1 | Latitude of point 1 (degrees). |
| [in] | lon1 | Longitude of point 1 (degrees). |
| [in] | azi | Azimuth at start point (degrees). |
| [in] | dist | Distance between point 1 and point 2 (NM). It can be signed. |
| [out] | lat2 | Latitude of point 2 (degrees). |
| [out] | lon2 | Longitude of point 2 (degrees). lat1 should be in the range -90, 90; lon1 and azi should be in the range -180,360. The value of lon2 returned is in the range -180,180
|
◆ Inverse()
| virtual SDKResult SDK_CALLTYPE Inverse |
( |
double |
lat1, |
|
|
double |
lon1, |
|
|
double |
lat2, |
|
|
double |
lon2, |
|
|
double & |
dist, |
|
|
double & |
azi1, |
|
|
double & |
azi2 |
|
) |
| const |
| throw | ( | |
| ) | | |
|
pure virtual |
Perform the inverse geodesic calculation.
- Parameters
-
| [in] | lat1 | Latitude of point 1 (degrees) |
| [in] | lon1 | Longitude of point 1 (degrees) |
| [in] | lat2 | Latitude of point 2 (degrees) |
| [in] | lon2 | Latitude of point 2 (degrees) |
| [out] | dist | Distance between point 1 and point 2 (NM). |
| [out] | azi1 | Azimuth at point 1 (degrees) |
| [out] | azi2 | (forward) azimuth at point 2 (degrees)
|
◆ GeodesicLine()
| virtual SDKResult SDK_CALLTYPE GeodesicLine |
( |
double |
lat1, |
|
|
double |
lon1, |
|
|
double |
lat2, |
|
|
double |
lon2, |
|
|
double |
distance_between_wp, |
|
|
GeodesicLineType |
type, |
|
|
geometry::IPointCollection ** |
points |
|
) |
| const |
| throw | ( | |
| ) | | |
|
pure virtual |
Perform the Great Circle approximation.
- Parameters
-
| [in] | lat1 | Latitude of point 1 (degrees) |
| [in] | lon1 | Longitude of point 1 (degrees) |
| [in] | lat2 | Latitude of point 2 (degrees) |
| [in] | lon2 | Latitude of point 2 (degrees) |
| [in] | distance_between_wp | Nominal distance between waypoints |
| [out] | points | Address of a variable that receives the points. |
The documentation for this class was generated from the following file: