Repo created

This commit is contained in:
Fr4nz D13trich 2025-11-22 13:58:55 +01:00
parent 4af19165ec
commit 68073add76
12458 changed files with 12350765 additions and 2 deletions

View file

@ -0,0 +1,26 @@
#pragma once
#include "openlr/openlr_model.hpp"
#include "geometry/mercator.hpp"
#include "geometry/point2d.hpp"
#include <cstdint>
namespace openlr
{
struct WayPoint final
{
explicit WayPoint(openlr::LocationReferencePoint const & lrp)
: m_point(mercator::FromLatLon(lrp.m_latLon))
, m_distanceToNextPointM(lrp.m_distanceToNextPoint)
, m_bearing(lrp.m_bearing)
, m_lfrcnp(lrp.m_functionalRoadClass)
{}
m2::PointD m_point;
double m_distanceToNextPointM = 0.0;
uint8_t m_bearing = 0;
openlr::FunctionalRoadClass m_lfrcnp = openlr::FunctionalRoadClass::NotAValue;
};
} // namespace openlr