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

Method GetNewTransitSegment

libs/routing/transit_graph.cpp:382–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380}
381
382Segment TransitGraph::GetNewTransitSegment() const
383{
384 auto const featureId = m_fake.GetSize() + FakeFeatureIds::kTransitGraphFeaturesStart;
385 CHECK_LESS_OR_EQUAL(featureId, numeric_limits<uint32_t>::max(), ());
386 return GetTransitSegment(static_cast<uint32_t>(featureId));
387}
388
389void TransitGraph::AddGate(transit::Gate const & gate, FakeEnding const & ending,
390 map<transit::StopId, LatLonWithAltitude> const & stopCoords, bool isEnter,

Callers

nothing calls this directly

Calls 1

GetSizeMethod · 0.45

Tested by

no test coverage detected