BoosterSeat
0.1
A C++ library that includes common utilities that are used in other projects.
|
A path of geographical points. More...
#include <geo.hpp>
Public Member Functions | |
Path () | |
Path (std::vector< Point > points) | |
void | addPoint (Point point) |
double | distance () const |
bool | getFirstPoint (Point &point) const |
bool | getLastPoint (Point &point) const |
int | getNumPoints () const |
std::vector< Point > | points () const |
Private Attributes | |
std::vector< Point > | points_ |
A path of geographical points.
bst::geo::Path::Path | ( | ) |
bst::geo::Path::Path | ( | std::vector< Point > | points | ) |
|
inline |
References points_.
double bst::geo::Path::distance | ( | ) | const |
|
private |
Referenced by addPoint(), distance(), getFirstPoint(), getLastPoint(), getNumPoints(), and points().