6 #include "VectorMath.h"
7 #include "FunctionalRoadClass.h"
23 CLOSED_IN_BOTH_DIRECTIONS = 3
26 void BuildFunctionalRoadClassEnumValuesMap(std::map<std::string,FunctionalRoadClass::Type> &enumMap);
33 u8 roughSpeedLimitInKph;
35 RoadDirection direction;
36 FunctionalRoadClass::Type functionalRoadClass;
40 int fromConnectionsOffset;
41 int fromConnectionsCount;
42 int toConnectionsOffset;
43 int toConnectionsCount;
49 bool hasValidConnectionInformation;
50 std::vector<NavGraphRoadData> roads;
51 std::vector<Eegeo::v3> vertices;
52 std::vector<u16> fromConnections;
53 std::vector<u16> toConnections;
54 std::vector<u16> roadIndicesJoiningCell;
55 std::vector<u16> roadIndicesLeavingCell;
59 bool hasValidConnectionInformation_
61 : originECEF(originECEF_)
62 , hasValidConnectionInformation(hasValidConnectionInformation_)
68 originECEF = dv3::Zero();
69 hasValidConnectionInformation =
true;
72 fromConnections.clear();
73 toConnections.clear();
74 roadIndicesJoiningCell.clear();
75 roadIndicesLeavingCell.clear();