Files
comaps/libs/routing/lanes/lane_info.hpp
Andrei Shkrob c014e224b2 [routing] New API for lanes
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
2025-09-05 20:35:15 +02:00

24 lines
506 B
C++

#pragma once
#include "routing/lanes/lane_way.hpp"
#include <vector>
namespace routing::turns::lanes
{
struct LaneInfo
{
LaneWays laneWays;
LaneWay recommendedWay = LaneWay::None;
bool operator==(LaneInfo const & rhs) const
{
return laneWays == rhs.laneWays && recommendedWay == rhs.recommendedWay;
}
};
using LanesInfo = std::vector<LaneInfo>;
std::string DebugPrint(LaneInfo const & laneInfo);
std::string DebugPrint(LanesInfo const & lanesInfo);
} // namespace routing::turns::lanes