rsvs3D
0.0.0
Codes for the c++ implementation of the 3D RSVS
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Typedefs
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
u
v
Functions
_
a
b
c
g
i
l
m
n
o
p
r
s
u
v
Variables
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
u
v
Files
File List
File Members
All
a
b
c
d
i
o
p
r
s
t
v
Functions
a
b
c
d
i
o
p
r
s
t
v
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Macros
Pages
rsvsutils.hpp
Go to the documentation of this file.
1
7
//===============================================
8
// Include Guards
9
#ifndef RSVSUTILS_H_INCLUDED
10
#define RSVSUTILS_H_INCLUDED
11
12
#include <cfloat>
13
#include <cmath>
14
15
namespace
rsvs3d
16
{
17
namespace
utils
18
{
19
inline
bool
IsAproxEqual(
double
d1,
double
d2,
double
tol = DBL_EPSILON)
20
{
21
return
(fabs(d1 - d2) < tol);
22
}
23
}
// namespace utils
24
}
// namespace rsvs3d
25
26
#endif
// RSVSUTILS_H_INCLUDED
rsvs3d
Namespace for general purpose tools of the RSVS project.
Definition:
snake.cpp:1464
incl
rsvsutils.hpp
Generated by
1.9.1