#include "openlr/openlr_model.hpp" #include "geometry/mercator.hpp" using namespace std; namespace openlr { // LinearSegment ----------------------------------------------------------------------------------- vector LinearSegment::GetMercatorPoints() const { vector points; for (auto const & point : m_locationReference.m_points) points.push_back(MercatorBounds::FromLatLon(point.m_latLon)); return points; } vector const & LinearSegment::GetLRPs() const { return m_locationReference.m_points; } vector & LinearSegment::GetLRPs() { return m_locationReference.m_points; } } // namespace openlr