mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
rmeoved unused functions
This commit is contained in:
parent
4840c4ae6f
commit
ceec0eb33a
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user