35 #if defined(AngleComputer_RECURSES)
36 #error Recursive header files inclusion detected in AngleComputer.h
37 #else // defined(AngleComputer_RECURSES)
39 #define AngleComputer_RECURSES
41 #if !defined AngleComputer_h
43 #define AngleComputer_h
48 #include "DGtal/base/Common.h"
53 #define _HAS_MSVC_MAX_ true
57 #define _HAS_MSVC_MIN_ true
75 static float cast(
float i );
85 static bool less(
float i,
float j );
94 static float posDiff(
float j,
float i );
103 static float deviation(
float j,
float i );
112 static float min(
float i,
float j );
121 static float max(
float i,
float j );
128 static double cast(
double i );
138 static bool less(
double i,
double j );
147 static double posDiff(
double j,
double i );
156 static double deviation(
double j,
double i );
165 static double min(
double i,
double j );
174 static double max(
double i,
double j );
187 #include "DGtal/math/AngleComputer.ih"
193 #endif // !defined AngleComputer_h
195 #undef AngleComputer_RECURSES
196 #endif // else defined(AngleComputer_RECURSES)