NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
IGeodesicCalculation Class Referenceabstract

Provides basic transformations. More...

#include <crs_geodesic_calculation.h>

Inherits ISDKComponent.

Public Member Functions

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...
 

Detailed Description

Provides basic transformations.

Member Function Documentation

◆ 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]lat1Latitude of point 1 (degrees).
[in]lon1Longitude of point 1 (degrees).
[in]aziAzimuth at start point (degrees).
[in]distDistance between point 1 and point 2 (NM). It can be signed.
[out]lat2Latitude of point 2 (degrees).
[out]lon2Longitude 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]lat1Latitude of point 1 (degrees)
[in]lon1Longitude of point 1 (degrees)
[in]lat2Latitude of point 2 (degrees)
[in]lon2Latitude of point 2 (degrees)
[out]distDistance between point 1 and point 2 (NM).
[out]azi1Azimuth 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]lat1Latitude of point 1 (degrees)
[in]lon1Longitude of point 1 (degrees)
[in]lat2Latitude of point 2 (degrees)
[in]lon2Latitude of point 2 (degrees)
[in]distance_between_wpNominal distance between waypoints
[out]pointsAddress of a variable that receives the points.

The documentation for this class was generated from the following file: