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

Method MatchGandP3d

libs/geometry/screenbase.cpp:168–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168void ScreenBase::MatchGandP3d(m2::PointD const & g, m2::PointD const & p3d)
169{
170 m2::PointD g_current = PtoG(P3dtoP(p3d));
171 SetOrg(m_Org - g_current + g);
172}
173
174void ScreenBase::SetOrg(m2::PointD const & p)
175{

Callers 9

ApplyScaleFunction · 0.80
GetPrettyFollowAnimationFunction · 0.80
ScaleImplMethod · 0.80
OnSetCenterMethod · 0.80
OnNewVisibleViewportMethod · 0.80
SetAngleMethod · 0.80
SetRectMethod · 0.80
SetFollowAndRotateMethod · 0.80
GetPropertyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected