diff --git a/SimoxUtility/CMakeLists.txt b/SimoxUtility/CMakeLists.txt
index 9a41278d9a4575fff028761a0381f174d78bc612..5842fafd9d4d5c9be0b2a3de8c4174f14e853aad 100644
--- a/SimoxUtility/CMakeLists.txt
+++ b/SimoxUtility/CMakeLists.txt
@@ -50,8 +50,12 @@ SET(SOURCES
 
 SET(INCLUDES
     SimoxUtility.h
+
     eigen/OrientedBox.h
     eigen/XYConstrainedOrientedBox.h
+
+    math/convert/deg2rad.h
+    math/convert/rad2deg.h
 )
 
 macro(simox_subdirs result curdir)
diff --git a/SimoxUtility/math.h b/SimoxUtility/math.h
new file mode 100644
index 0000000000000000000000000000000000000000..6142cc1da99968ee9b06dc94c9b49145932b8334
--- /dev/null
+++ b/SimoxUtility/math.h
@@ -0,0 +1,5 @@
+#pragma once
+
+// This file is generated!
+
+#include "math/convert.h"
diff --git a/SimoxUtility/math/convert.h b/SimoxUtility/math/convert.h
new file mode 100644
index 0000000000000000000000000000000000000000..16416f0eeb257b17ee42f3b2490fdb260d11cc2b
--- /dev/null
+++ b/SimoxUtility/math/convert.h
@@ -0,0 +1,6 @@
+#pragma once
+
+// This file is generated!
+
+#include "convert/deg2rad.h"
+#include "convert/rad2deg.h"
diff --git a/SimoxUtility/math/convert/deg2rad.h b/SimoxUtility/math/convert/deg2rad.h
new file mode 100644
index 0000000000000000000000000000000000000000..09acd50632750b87f6124bab6793dc10a2250491
--- /dev/null
+++ b/SimoxUtility/math/convert/deg2rad.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include <boost/math/constants/constants.hpp>
+
+namespace simox
+{
+    template<class FloatT>
+    FloatT deg2rad(FloatT rad)
+    {
+        return rad / 180.f * boost::math::constants::pi<FloatT>();
+    }
+}
diff --git a/SimoxUtility/math/convert/rad2deg.h b/SimoxUtility/math/convert/rad2deg.h
new file mode 100644
index 0000000000000000000000000000000000000000..e24958202b05412ed379460373eb5d9d3711d4a8
--- /dev/null
+++ b/SimoxUtility/math/convert/rad2deg.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include <boost/math/constants/constants.hpp>
+
+namespace simox
+{
+    template<class FloatT>
+    FloatT rad2deg(FloatT rad)
+    {
+        return rad * 180.f / boost::math::constants::pi<FloatT>();
+    }
+}