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

Method GetVisiblePOI

libs/drape_frontend/frontend_renderer.cpp:1238–1244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1236}
1237
1238std::pair<FeatureID, kml::MarkId> FrontendRenderer::GetVisiblePOI(m2::PointD const & pixelPoint)
1239{
1240 double halfSize = VisualParams::Instance().GetTouchRectRadius();
1241 m2::PointD sizePoint(halfSize, halfSize);
1242 m2::RectD selectRect(pixelPoint - sizePoint, pixelPoint + sizePoint);
1243 return GetVisiblePOI(selectRect);
1244}
1245
1246std::pair<FeatureID, kml::MarkId> FrontendRenderer::GetVisiblePOI(m2::RectD const & pixelRect)
1247{

Callers

nothing calls this directly

Calls 11

GetTouchRectRadiusMethod · 0.80
GetCurrentScreenMethod · 0.80
IsNeedUpdateMethod · 0.80
SquaredLengthMethod · 0.80
isPerspectiveMethod · 0.80
FeatureIDClass · 0.50
CenterMethod · 0.45
ScaleMethod · 0.45
emptyMethod · 0.45
SelectMethod · 0.45
GetPivotMethod · 0.45

Tested by

no test coverage detected