31 #if defined(ClosedIntegerHalfPlane_RECURSES)
32 #error Recursive header files inclusion detected in ClosedIntegerHalfPlane.h
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>
164 template <
typename TSpace>
173 #include "DGtal/arithmetic/ClosedIntegerHalfPlane.ih"
180 #undef ClosedIntegerHalfPlane_RECURSES
TInteger Integer
Arithmetic ring induced by (+,-,*) and Integer numbers.
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)
Aim: A half-space specified by a vector N and a constant c. The half-space is the set .
ClosedIntegerHalfPlane< TSpace > Self
bool isOnBoundary(const Point &p) const
Vector N
The normal to the half-space.
ClosedIntegerHalfPlane()=default
bool operator()(const Point &p) const
~ClosedIntegerHalfPlane()
ClosedIntegerHalfPlane(const Vector &aN, const Integer &aC)
ClosedIntegerHalfPlane(const Point &A, const Point &B, const Point &inP, IntegerComputer< Integer > &ic)
Integer c
The uppermost value N.(x,y) that is in the half-space.
void selfDisplay(std::ostream &out) const
BOOST_CONCEPT_ASSERT((concepts::CSpace< TSpace >))
Aim: Defines the concept describing a digital space, ie a cartesian product of integer lines.