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

Method ClipGraph

libs/transit/transit_graph_data.cpp:381–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379}
380
381void GraphData::ClipGraph(vector<m2::RegionD> const & borders)
382{
383 Sort();
384 CheckValidSortedUnique();
385 ClipLines(borders);
386 ClipStops();
387 ClipNetworks();
388 ClipGates();
389 ClipTransfer();
390 ClipEdges();
391 ClipShapes();
392 CheckValidSortedUnique();
393}
394
395void GraphData::SetGateBestPedestrianSegment(size_t gateIdx, SingleMwmSegment const & s)
396{

Callers 2

BuildTransitFunction · 0.80
UNIT_TESTFunction · 0.80

Calls 2

CheckValidSortedUniqueFunction · 0.85
SortFunction · 0.50

Tested by 1

UNIT_TESTFunction · 0.64