DGtal
2.2.0
Toggle main menu visibility
Loading...
Searching...
No Matches
ArithmeticalDSSCheck.h
1
16
17
#pragma once
18
31
32
#if defined(ArithmeticalDSSCheck_RECURSES)
33
#error Recursive header files inclusion detected in ArithmeticalDSSCheck.h
34
#else
// defined(ArithmeticalDSSCheck_RECURSES)
36
#define ArithmeticalDSSCheck_RECURSES
37
38
#if !defined ArithmeticalDSSCheck_h
40
#define ArithmeticalDSSCheck_h
41
43
// Inclusions
44
#include <iostream>
45
#include "DGtal/base/Common.h"
47
48
namespace
DGtal
49
{
50
51
//forward declaration of ArithmeticalDSS
52
template
<
typename
TCoordinate,
53
typename
TInteger,
54
unsigned
short
adjacency>
55
class
ArithmeticalDSS
;
56
57
namespace
functions
{
58
65
template
<
typename
TCoordinate,
66
typename
TInteger,
67
unsigned
short
adjacency>
68
bool
checkOnePoint
(
const
ArithmeticalDSS<TCoordinate, TInteger, adjacency>
& aDSS);
69
81
template
<
typename
TCoordinate,
82
typename
TInteger,
83
unsigned
short
adjacency>
84
bool
checkPointsPosition
(
const
ArithmeticalDSS<TCoordinate, TInteger, adjacency>
& aDSS);
85
98
template
<
typename
TCoordinate,
99
typename
TInteger,
100
unsigned
short
adjacency>
101
bool
checkPointsRemainder
(
const
ArithmeticalDSS<TCoordinate, TInteger, adjacency>
& aDSS);
102
110
template
<
typename
TCoordinate,
111
typename
TInteger,
112
unsigned
short
adjacency>
113
bool
checkAll
(
const
ArithmeticalDSS<TCoordinate, TInteger, adjacency>
& aDSS);
114
115
}
//end namespace functions
116
117
}
// end namespace DGtal
118
119
121
// Includes inline functions.
122
#include "DGtal/geometry/curves/ArithmeticalDSSCheck.ih"
123
124
// //
126
127
#endif
// !defined ArithmeticalDSSCheck_h
128
129
#undef ArithmeticalDSSCheck_RECURSES
130
#endif
// else defined(ArithmeticalDSSCheck_RECURSES)
DGtal::ArithmeticalDSS
Aim: This class represents a naive (resp. standard) digital straight segment (DSS),...
Definition
ArithmeticalDSS.h:96
DGtal::functions
functions namespace gathers all DGtal functionsxs.
Definition
ConstExpressions.h:50
DGtal::functions::checkPointsRemainder
bool checkPointsRemainder(const ArithmeticalDSS< TCoordinate, TInteger, adjacency > &aDSS)
DGtal::functions::checkAll
bool checkAll(const ArithmeticalDSS< TCoordinate, TInteger, adjacency > &aDSS)
DGtal::functions::checkPointsPosition
bool checkPointsPosition(const ArithmeticalDSS< TCoordinate, TInteger, adjacency > &aDSS)
DGtal::functions::checkOnePoint
bool checkOnePoint(const ArithmeticalDSS< TCoordinate, TInteger, adjacency > &aDSS)
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition
ClosedIntegerHalfPlane.h:49
src
DGtal
geometry
curves
ArithmeticalDSSCheck.h
Generated on
for DGtal by
1.18.0