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

Method SuitableForOptions

libs/routing/geometry.hpp:80–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 void SetPassThroughAllowedForTests(bool passThroughAllowed) { m_isPassThroughAllowed = passThroughAllowed; }
79
80 bool SuitableForOptions(RoutingOptions avoidRoutingOptions) const
81 {
82 return (avoidRoutingOptions.GetOptions() & m_routingOptions.GetOptions()) == 0;
83 }
84
85 RoutingOptions GetRoutingOptions() const { return m_routingOptions; }
86

Callers 3

GetNeighboringEdgesMethod · 0.80
IsRoutingOptionsGoodMethod · 0.80

Calls 1

GetOptionsMethod · 0.80

Tested by

no test coverage detected