Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
22
libs/routing/ruler_router.hpp
Normal file
22
libs/routing/ruler_router.hpp
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include "routing/router.hpp"
|
||||
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue