BoosterSeat  0.1
A C++ library that includes common utilities that are used in other projects.
geo.hpp File Reference

A collection of structures for representing geographic data. More...

#include <vector>
Include dependency graph for geo.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  bst::geo::Path
 A path of geographical points. More...
 
class  bst::geo::Point
 A geographical point. More...
 

Namespaces

 bst
 
 bst::geo
 

Functions

double bst::geo::distance (const Point &point_a, const Point &point_b)
 Get the distance between two points in kilometers. More...
 

Variables

constexpr double bst::geo::EARTH_RADIUS_KM = 6378.1370
 

Detailed Description

A collection of structures for representing geographic data.

Author
Joshua Jerred (https://joshuajer.red)
Date
2023-06-12