Closed tinmodeHuang closed 3 years ago
a snippet in road_corridor.hppas shown below
road_corridor.hpp
LaneCorridorPtr GetCurrentLaneCorridor(const Point2d& pt) const { for (const auto& lane_corr : unique_lane_corridors_) { if (Collide(pt, lane_corr->GetMergedPolygon())) return lane_corr; } return nullptr; }
Here Collideshould have been replaced with Within, doen't it?
Collide
Within
Collide also includes the outer line strings, so I think it is okay.
a snippet in
road_corridor.hpp
as shown belowHere
Collide
should have been replaced withWithin
, doen't it?