MCPcopy Create free account
hub / github.com/comaps/comaps / IsProcessRoad

Method IsProcessRoad

generator/mini_roundabout_info.cpp:27–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27bool MiniRoundaboutInfo::IsProcessRoad(feature::FeatureBuilder const & fb)
28{
29 // Important! Collect and transform only Car roundabouts.
30 return fb.IsLine() && routing::IsCarRoad(fb.GetTypes());
31}
32
33MiniRoundaboutData::MiniRoundaboutData(std::vector<MiniRoundaboutInfo> && data) : m_data(std::move(data))
34{

Callers

nothing calls this directly

Calls 3

IsCarRoadFunction · 0.85
IsLineMethod · 0.80
GetTypesMethod · 0.45

Tested by

no test coverage detected