DGtal
2.2.0
Toggle main menu visibility
Loading...
Searching...
No Matches
AngleComputer.h
1
16
17
#pragma once
18
34
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
52
namespace
DGtal
53
{
54
58
struct
AngleComputer
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
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition
ClosedIntegerHalfPlane.h:49
DGtal::AngleComputer
Definition
AngleComputer.h:59
DGtal::AngleComputer::min
static double min(double i, double j)
DGtal::AngleComputer::less
static bool less(double i, double j)
DGtal::AngleComputer::cast
static float cast(float i)
DGtal::AngleComputer::deviation
static float deviation(float j, float i)
DGtal::AngleComputer::posDiff
static float posDiff(float j, float i)
DGtal::AngleComputer::cast
static double cast(double i)
DGtal::AngleComputer::less
static bool less(float i, float j)
DGtal::AngleComputer::posDiff
static double posDiff(double j, double i)
DGtal::AngleComputer::max
static double max(double i, double j)
DGtal::AngleComputer::deviation
static double deviation(double j, double i)
DGtal::AngleComputer::min
static float min(float i, float j)
DGtal::AngleComputer::max
static float max(float i, float j)
src
DGtal
math
AngleComputer.h
Generated on
for DGtal by
1.18.0