31 #if defined(InGeneralizedDiskOfGivenRadius_RECURSES)
32 #error Recursive header files inclusion detected in InGeneralizedDiskOfGivenRadius.h
35 #define InGeneralizedDiskOfGivenRadius_RECURSES
37 #if !defined InGeneralizedDiskOfGivenRadius_h
39 #define InGeneralizedDiskOfGivenRadius_h
45 #include "DGtal/base/Common.h"
47 #include "DGtal/geometry/tools/determinant/C2x2DetComputer.h"
48 #include "DGtal/geometry/tools/determinant/Simple2x2DetComputer.h"
125 template <
typename TPo
int,
typename TDetComputer>
156 typedef typename DetComputer::ArgumentInteger
Integer;
160 typedef typename DetComputer::ResultInteger
Value;
379 template <
typename TPo
int,
typename TDetComputer>
389 #include "DGtal/geometry/tools/determinant/InGeneralizedDiskOfGivenRadius.ih"
396 #undef InGeneralizedDiskOfGivenRadius_RECURSES
Aim: This class implements an orientation functor that provides a way to determine the position of ...
InGeneralizedDiskOfGivenRadius & operator=(const InGeneralizedDiskOfGivenRadius &other)
void init(const Point &aP, const Point &aQ)
bool lengthIsValid(const Integer &aL2) const
InGeneralizedDiskOfGivenRadius(bool isPositive=true, const Integer &aNum2=NumberTraits< Integer >::ONE, const Integer &aDen2=NumberTraits< Integer >::ZERO)
AreaFunctor myAreaFunctor
DetComputer::ArgumentInteger Integer
void selfDisplay(std::ostream &out) const
InGeneralizedDiskOfGivenRadius(const InGeneralizedDiskOfGivenRadius &other)
void finalizeComputation() const
Value operator()(const Point &aR) const
BOOST_CONCEPT_ASSERT((C2x2DetComputer< DetComputer >))
Simple2x2DetComputer< Integer > AreaFunctor
void init(const PointArray &aA)
DetComputer myDetComputer
PointArray::size_type SizeArray
DetComputer::ResultInteger Value
std::array< Point, 2 > PointArray
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: This concept gathers all models that are able to compute the (sign of the) determinant of a 2x2 ...
Aim: The traits class for all models of Cinteger.