DGtal 1.4.0
Loading...
Searching...
No Matches
AngleComputer.h
1
17#pragma once
18
35#if defined(AngleComputer_RECURSES)
36#error Recursive header files inclusion detected in AngleComputer.h
37#else // defined(AngleComputer_RECURSES)
39#define AngleComputer_RECURSES
40
41#if !defined AngleComputer_h
43#define AngleComputer_h
44
46// Inclusions
47#include <iostream>
48#include "DGtal/base/Common.h"
49
51
52namespace DGtal
53{
54
59 {
64 static float cast( float i );
65
74 static bool less( float i, float j );
75
83 static float posDiff( float j, float i );
84
92 static float deviation( float j, float i );
93
101 static float min( float i, float j );
102
110 static float max( float i, float j );
111
112
117 static double cast( double i );
118
127 static bool less( double i, double j );
128
136 static double posDiff( double j, double i );
137
145 static double deviation( double j, double i );
146
154 static double min( double i, double j );
155
163 static double max( double i, double j );
164
165
166 };
167
168
169
170
171} // namespace DGtal
172
173
175// Includes inline functions.
176#include "DGtal/math/AngleComputer.ih"
177
178
179// //
181
182#endif // !defined AngleComputer_h
183
184#undef AngleComputer_RECURSES
185#endif // else defined(AngleComputer_RECURSES)
DGtal is the top-level namespace which contains all DGtal functions and types.
static double min(double i, double j)
static bool less(double i, double j)
static float cast(float i)
static float deviation(float j, float i)
static float posDiff(float j, float i)
static double cast(double i)
static bool less(float i, float j)
static double posDiff(double j, double i)
static double max(double i, double j)
static double deviation(double j, double i)
static float min(float i, float j)
static float max(float i, float j)