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

Method PtoG

libs/geometry/screenbase.cpp:276–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276void ScreenBase::PtoG(m2::RectD const & pxRect, m2::RectD & glbRect) const
277{
278 glbRect = m2::RectD(PtoG(pxRect.LeftTop()), PtoG(pxRect.RightBottom()));
279}
280
281void ScreenBase::GetTouchRect(m2::PointD const & pixPoint, double pixRadius, m2::AnyRectD & glbRect) const
282{

Callers 5

mousePressEventMethod · 0.45
mainFunction · 0.45
ProcessSelectionModeMethod · 0.45
ShowInfoPopupMethod · 0.45
UNIT_TESTFunction · 0.45

Calls 2

LeftTopMethod · 0.80
RightBottomMethod · 0.80

Tested by 1

UNIT_TESTFunction · 0.36