DGtal  1.5.beta
ArithmeticalDSSCheck.h
1 
17 #pragma once
18 
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>
69 
81  template <typename TCoordinate,
82  typename TInteger,
83  unsigned short adjacency>
85 
98  template <typename TCoordinate,
99  typename TInteger,
100  unsigned short adjacency>
102 
110  template <typename TCoordinate,
111  typename TInteger,
112  unsigned short adjacency>
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)
Aim: This class represents a naive (resp. standard) digital straight segment (DSS),...
bool checkPointsRemainder(const ArithmeticalDSS< TCoordinate, TInteger, adjacency > &aDSS)
bool checkAll(const ArithmeticalDSS< TCoordinate, TInteger, adjacency > &aDSS)
bool checkPointsPosition(const ArithmeticalDSS< TCoordinate, TInteger, adjacency > &aDSS)
bool checkOnePoint(const ArithmeticalDSS< TCoordinate, TInteger, adjacency > &aDSS)
DGtal is the top-level namespace which contains all DGtal functions and types.