Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ Add
Method
Add
libs/geometry/angles.hpp:106–110 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
104
{
105
public:
106
void Add(double a)
107
{
108
m_ang = (m_isEmpty ? a : GetMiddleAngle(m_ang, a));
109
m_isEmpty = false;
110
}
111
112
double GetAverage() const { return m_ang; }
113
Callers
nothing calls this directly
Calls
1
GetMiddleAngle
Function · 0.85
Tested by
no test coverage detected