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

Method GtoP

libs/geometry/screenbase.cpp:271–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271void ScreenBase::GtoP(m2::RectD const & glbRect, m2::RectD & pxRect) const
272{
273 pxRect = m2::RectD(GtoP(glbRect.LeftTop()), GtoP(glbRect.RightBottom()));
274}
275
276void ScreenBase::PtoG(m2::RectD const & pxRect, m2::RectD & glbRect) const
277{

Callers 3

IsPanningAndRotateFunction · 0.45
check_set_from_rectFunction · 0.45
UNIT_TESTFunction · 0.45

Calls 2

LeftTopMethod · 0.80
RightBottomMethod · 0.80

Tested by 2

check_set_from_rectFunction · 0.36
UNIT_TESTFunction · 0.36