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

Method SetFromParams

libs/geometry/screenbase.cpp:153–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void ScreenBase::SetFromParams(m2::PointD const & org, double angle, double scale)
154{
155 ASSERT_GREATER(scale, 0.0, ());
156 m_Scale = scale;
157 m_Angle = ang::Angle<double>(angle);
158 m_Org = org;
159 UpdateDependentParameters();
160}
161
162void ScreenBase::MatchGandP(m2::PointD const & g, m2::PointD const & p)
163{

Callers 5

OnSetCenterMethod · 0.80
SetFollowAndRotateMethod · 0.80
GetScreenMethod · 0.80
GetPropertyMethod · 0.80
GetCurrentScreenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected