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

Method SetActive

qt/ruler.cpp:15–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15void Ruler::SetActive(bool status)
16{
17 m_isActive = status;
18 if (!m_isActive)
19 {
20 m_polyline.clear();
21 m_sumDistanceM = 0.0;
22 }
23}
24
25void Ruler::AddPoint(m2::PointD const & point)
26{

Callers 1

SetRulerMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected