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

Method GetDirection

libs/routing/road_graph.hpp:68–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 inline bool HasRealPart() const { return m_type != Type::FakeWithoutRealPart; }
67
68 inline m2::PointD GetDirection() const { return GetEndJunction().GetPoint() - GetStartJunction().GetPoint(); }
69
70 Type GetType() const { return m_type; }
71

Callers 3

RebuildRouteMethod · 0.45
IsAlmostCodirectionalMethod · 0.45

Calls 1

GetPointMethod · 0.45

Tested by

no test coverage detected