Maria GDK 5.0.0.738
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria::Earth Class Reference

Public Member Functions

double LocalEarthRadius (double)
 

Static Public Member Functions

static double RadianDistance (const BasicGeoTypes::GeoPos &pos0, const BasicGeoTypes::GeoPos &pos1)
 
static double DegreesDistance (const BasicGeoTypes::GeoPos &pos0, const BasicGeoTypes::GeoPos &pos1)
 
static double MetersDistance (const BasicGeoTypes::GeoPos &pos0, const BasicGeoTypes::GeoPos &pos1)
 
static BasicGeoTypes::GeoPos BearingRangeToPos (const BasicGeoTypes::GeoPos &pos, const BasicGeoTypes::BearingRange &br)
 
static BasicGeoTypes::BearingRange CalcBearingRange (const BasicGeoTypes::GeoPos &pos0, const BasicGeoTypes::GeoPos &pos1)
 
static bool IntermediatePos (const BasicGeoTypes::GeoPos &pos0, const BasicGeoTypes::GeoPos &pos1, int n, std::vector< BasicGeoTypes::GeoPos > &ImPos)
 Supplies equally spaced intermediate positions between pos0 & pos1 along a great circle arc.
 
static BasicGeoTypes::PointDXYZ ToXYZ (const BasicGeoTypes::GeoPos &pos, double h)
 
static BasicGeoTypes::PointDXYZ ToXYZ (const BasicGeoTypes::GeoPos3D &pos)
 
static BasicGeoTypes::GeoPos3D FromXYZ (const BasicGeoTypes::PointDXYZ &xyz)
 

Member Function Documentation

◆ IntermediatePos()

bool Maria::Earth::IntermediatePos ( const BasicGeoTypes::GeoPos pos0,
const BasicGeoTypes::GeoPos pos1,
int  n,
std::vector< BasicGeoTypes::GeoPos > &  ImPos 
)
static

Supplies equally spaced intermediate positions between pos0 & pos1 along a great circle arc.

Parameters
nWanted total number of positions
Returns
ImPos[0] = pos0, ImPos[n-1] = pos1, the remaining are the intermediate positions

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