31 #if defined(ClosedIntegerHalfPlane_RECURSES) 32 #error Recursive header files inclusion detected in ClosedIntegerHalfPlane.h 33 #else // defined(ClosedIntegerHalfPlane_RECURSES) 35 #define ClosedIntegerHalfPlane_RECURSES 37 #if !defined ClosedIntegerHalfPlane_h 39 #define ClosedIntegerHalfPlane_h 44 #include "DGtal/base/Common.h" 45 #include "DGtal/kernel/CSpace.h" 62 template <
typename TSpace>
160 template <
typename TSpace>
162 operator<< ( std::ostream & out, const ClosedIntegerHalfPlane<TSpace> & object );
169 #include "DGtal/arithmetic/ClosedIntegerHalfPlane.ih" 174 #endif // !defined ClosedIntegerHalfPlane_h 176 #undef ClosedIntegerHalfPlane_RECURSES 177 #endif // else defined(ClosedIntegerHalfPlane_RECURSES)
bool isOnBoundary(const Point &p) const
bool operator()(const Point &p) const
Integer c
The uppermost value N.(x,y) that is in the half-space.
~ClosedIntegerHalfPlane()
Aim: Defines the concept describing a digital space, ie a cartesian product of integer lines...
TInteger Integer
Arithmetic ring induced by (+,-,*) and Integer numbers.
BOOST_CONCEPT_ASSERT((concepts::CSpace< TSpace >))
DGtal is the top-level namespace which contains all DGtal functions and types.
ClosedIntegerHalfPlane(const Vector &aN, const Integer &aC)
Aim: A half-space specified by a vector N and a constant c. The half-space is the set ...
Vector N
The normal to the half-space.
ClosedIntegerHalfPlane< TSpace > Self
void selfDisplay(std::ostream &out) const