| 61 | } |
| 62 | |
| 63 | void IndexGraphStarter::Append(FakeEdgesContainer const & container) |
| 64 | { |
| 65 | m_finish = container.m_finish; |
| 66 | m_fake.Append(container.m_fake); |
| 67 | |
| 68 | // It's important to calculate distance after m_fake.Append() because |
| 69 | // we don't have finish segment in fake graph before m_fake.Append(). |
| 70 | auto const startPoint = GetPoint(GetStartSegment(), false /* front */); |
| 71 | auto const finishPoint = GetPoint(GetFinishSegment(), true /* front */); |
| 72 | m_startToFinishDistanceM = ms::DistanceOnEarth(startPoint, finishPoint); |
| 73 | m_fakeNumerationStart += container.m_fake.GetSize(); |
| 74 | } |
| 75 | |
| 76 | void IndexGraphStarter::SetGuides(GuidesGraph const & guides) |
| 77 | { |
nothing calls this directly
no test coverage detected