Files
comaps/libs/routing/ruler_router.hpp
Alexander Borsuk 76ffc99abd New cpp folder structure
Signed-off-by: Alexander Borsuk <me@alex.bio>
2025-08-14 20:52:04 +07:00

24 lines
789 B
C++

#pragma once
#include "routing/router.hpp"
#include <string>
namespace routing
{
class RulerRouter : public IRouter
{
std::string GetName() const override { return {"ruler-router"}; }
void ClearState() override;
void SetGuides(GuidesTracks && guides) override;
RouterResultCode CalculateRoute(Checkpoints const & checkpoints,
m2::PointD const & startDirection, bool adjustToPrevRoute,
RouterDelegate const & delegate, Route & route) override;
bool FindClosestProjectionToRoad(m2::PointD const & point, m2::PointD const & direction,
double radius, EdgeProj & proj) override;
// Do we need guides in this router?
//GuidesConnections m_guides;
};
} // namespace routing