Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
15
void 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
25
void Ruler::AddPoint(m2::PointD const & point)
26
{
Callers
1
SetRuler
Method · 0.45
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected