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

Method GetMyPositionPoint

libs/map/routing_mark.cpp:385–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383}
384
385RouteMarkPoint const * RoutePointsLayout::GetMyPositionPoint() const
386{
387 for (auto markId : m_manager.GetUserMarkIds(UserMark::Type::ROUTING))
388 {
389 auto const * mark = m_manager.GetMark<RouteMarkPoint>(markId);
390 if (mark->IsMyPosition())
391 return mark;
392 }
393 return nullptr;
394}
395
396std::vector<RouteMarkPoint *> RoutePointsLayout::GetRoutePoints()
397{

Callers 2

AddRoutePointMethod · 0.80
ContinueRouteToPointMethod · 0.80

Calls 1

IsMyPositionMethod · 0.45

Tested by

no test coverage detected