Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

bearingHaversine function

$
0
0

Hi all,
I noticed that two different functions in ofxGeo/GeoUtils.h has the same description:

/// \brief Get the bearing in degrees between two Coordinates.
/// \param coordinate0 The first location.
/// \param coordinate1 The second location.
/// \returns the bearing in degrees between two GeoLocations.
static double bearingHaversine(const Coordinate& coordinate0,
                               const Coordinate& coordinate1);

/// \brief Get the bearing in degrees between two Coordinates.
/// \param coordinate0 The first location.
/// \param coordinate1 The second location.
/// \returns the bearing in degrees between two GeoLocations.
static Coordinate midpoint(const Coordinate& coordinate0,
                           const Coordinate& coordinate1);

I think probably that the description refers to the bearingHaversine.
My question is: does that function return what is called true meaning?
Because I read here that there are two types of bearing and I'm not sure about.
Thank you.


Viewing all articles
Browse latest Browse all 40524

Trending Articles