6 #include "IRoadNameClassificationPatcher.h"
8 #include "VectorMath.h"
9 #include "RoadClassification.h"
27 float maxSearchRadius);
33 typedef std::pair<Geometry::Bounds2D, int> AABBToRoadIndex;
36 const m44& ecefToTangent,
37 const std::vector<v2>& navGraphVertsTangent,
38 const std::vector<AABBToRoadIndex>& aabbToRoadIndices,
43 bool LineSegmentLiesOnNavGraphRoad(
const v2& a,
45 const std::vector<v2>& navGraphVertsTangent,
48 void ProjectNavGraphVerts(
const m44& ecefToTangent,
const NavGraphData& navGraphDto, std::vector<v2>& out_navGraphVertsTangent)
const;
50 void BuildOrderedNavGraphAABBs(
const NavGraphData& navGraphDto,
const std::vector<v2>& navGraphVertsTangent, std::vector<AABBToRoadIndex>& out_aabbToRoadIndices);
52 const FunctionalRoadClass::Type m_defaultFrc;
53 const int m_defaultNumLanes;
54 const float m_epsilon;
55 const float m_epsilonSq;
57 std::vector<const NavGraphRoadData*> m_roadSegmentNavGraphDataScratch;
58 std::vector<RoadClassification> m_roadClassificationScratch;
59 std::vector<v2> m_navGraphVertsTangentScatch;
60 std::vector<AABBToRoadIndex> m_aabbToRoadIndicesScatch;