ad_map_access
Namespaces | Functions | Variables
GeoOperation.hpp File Reference
#include "ad/map/point/GeoEdgeValidInputRange.hpp"
#include "ad/map/point/GeoPointValidInputRange.hpp"
#include "ad/map/point/PointOperation.hpp"
#include "ad/physics/Distance.hpp"
Include dependency graph for GeoOperation.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ad
 namespace ad
 
 ad::map
 namespace map
 
 ad::map::point
 namespace point
 

Functions

bool ad::map::point::isValid (GeoPoint const &point, bool const logErrors=true)
 checks if the given GeoPoint is valid More...
 
bool ad::map::point::isValid (ECEFEdge const &edge, bool const logErrors=true)
 checks if the given ECEFEdge is valid More...
 
double ad::map::point::degree2radians (double degree)
 Convert degrees to radians. More...
 
double ad::map::point::radians2degree (double radians)
 Convert radians to degrees. More...
 
double ad::map::point::toRadians (Latitude const &latitude)
 Convert Latitude to radians. More...
 
double ad::map::point::toRadians (Longitude const &longitude)
 Convert Longitude to radians. More...
 
GeoPoint ad::map::point::createGeoPoint (Longitude const longitude, Latitude const latitude, Altitude const altitude)
 create a GeoPoint More...
 
physics::Distance ad::map::point::distance (GeoPoint const &point, GeoPoint const &other)
 Computes distance between geo points. More...
 
GeoPoint ad::map::point::zeroAltitude (GeoPoint const &point)
 
physics::Distance ad::map::point::flatDistance (GeoPoint const &point, const GeoPoint &other)
 Calculated distance between points not taking in account altitude. More...
 
GeoPoint ad::map::point::approxAltitude (GeoPoint const &point, const GeoEdge &pts)
 Approximates altitude of the point based on other points. More...
 
bool ad::map::point::isOnTheLeft (GeoPoint const &point, const GeoPoint &pt0, const GeoPoint &pt1)
 Checks if point is on the left side of the line defined by two points. More...
 
bool ad::map::point::haveSameOrientation (const GeoEdge &pts0, const GeoEdge &pts1)
 Checks if two GeoEdge have same orientation by taking in account distances between first and last points. More...
 
bool ad::map::point::isOnTheLeft (const GeoEdge &pts0, const GeoEdge &pts1)
 Checks if one polyline is on the left side of another polyline. More...
 
physics::Distance ad::map::point::calcLength (ECEFEdge const &edge)
 calculate the length of the provided border as distance value More...
 
template<>
GeoPoint ad::map::point::vectorExtrapolate (GeoPoint const &a, GeoPoint const &b, double const &scalar)
 specialization of vectorExtrapolate for GeoPoint
 

Variables

const Altitude ad::map::point::AltitudeUnknown
 constant defining the unknown altitude