Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Geode-solutions/OpenGeode
/ degrees_to_radians
Function
degrees_to_radians
src/geode/geometry/angle.cpp:34–37 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
return radians * 180. / M_PI;
33
}
34
double degrees_to_radians( double degree )
35
{
36
return degree * M_PI / 180.;
37
}
38
constexpr double TWO_PI = 2. * M_PI;
39
} // namespace
40
Callers
1
create_from_degrees
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected