MCPcopy Create free account
hub / github.com/TUC-ProAut/libRSF / deg2rad

Function deg2rad

src/Geometry.cpp:28–31  ·  view source on GitHub ↗

angular conversion */

Source from the content-addressed store, hash-verified

26{
27 /** angular conversion */
28 double deg2rad(const double Deg)
29 {
30 return Deg / 180.0 * M_PI;
31 }
32 double rad2deg(const double Rad)
33 {
34 return Rad * 180.0 / M_PI;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected