From ceec0eb33a47367bd40429f8763fab9f8d49825e Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Thu, 23 Apr 2015 12:48:31 +0300 Subject: [PATCH] rmeoved unused functions --- modules/gpu/src/generalized_hough.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/modules/gpu/src/generalized_hough.cpp b/modules/gpu/src/generalized_hough.cpp index 6f48161c9e..e8471094f7 100644 --- a/modules/gpu/src/generalized_hough.cpp +++ b/modules/gpu/src/generalized_hough.cpp @@ -675,28 +675,6 @@ namespace ///////////////////////////////////////// // POSITION & SCALE & ROTATION - double toRad(double a) - { - return a * CV_PI / 180.0; - } - - double clampAngle(double a) - { - double res = a; - - while (res > 360.0) - res -= 360.0; - while (res < 0) - res += 360.0; - - return res; - } - - bool angleEq(double a, double b, double eps = 1.0) - { - return (fabs(clampAngle(a - b)) <= eps); - } - class GHT_Guil_Full : public GHT_Pos { public: