31 #if defined(PolarPointComparatorBy2x2DetComputer_RECURSES) 32 #error Recursive header files inclusion detected in PolarPointComparatorBy2x2DetComputer.h 33 #else // defined(PolarPointComparatorBy2x2DetComputer_RECURSES) 35 #define PolarPointComparatorBy2x2DetComputer_RECURSES 37 #if !defined PolarPointComparatorBy2x2DetComputer_h 39 #define PolarPointComparatorBy2x2DetComputer_h 44 #include "DGtal/base/Common.h" 46 #include "DGtal/geometry/tools/determinant/C2x2DetComputer.h" 47 #include "DGtal/geometry/tools/determinant/Simple2x2DetComputer.h" 77 template <
typename TPoint,
78 typename TDetComputer = Simple2x2DetComputer<typename TPoint::Coordinate, DGtal::int64_t > >
163 void setPole (
const Point& aPole );
180 bool operator()(
const Point& aPoint1,
const Point& aPoint2)
const;
208 bool isBefore(
const Point& aU,
const Point& aV)
const;
245 template <
typename TPo
int,
typename TDetComputer>
247 operator<< ( std::ostream & out, const PolarPointComparatorBy2x2DetComputer<TPoint,TDetComputer> & object );
256 #include "DGtal/geometry/tools/PolarPointComparatorBy2x2DetComputer.ih" 261 #endif // !defined PolarPointComparatorBy2x2DetComputer_h 263 #undef PolarPointComparatorBy2x2DetComputer_RECURSES 264 #endif // else defined(PolarPointComparatorBy2x2DetComputer_RECURSES)
PolarPointComparatorBy2x2DetComputer & operator=(const PolarPointComparatorBy2x2DetComputer &other)
PolarPointComparatorBy2x2DetComputer()
functors::Thresholder< ResultInteger, false, false > CustomThresholder
Aim: This concept gathers all models that are able to compute the (sign of the) determinant of a 2x2 ...
DetComputer::ResultInteger ResultInteger
bool isBefore(const Point &aU, const Point &aV) const
BOOST_CONCEPT_ASSERT((C2x2DetComputer< DetComputer >))
void setPole(const Point &aPole)
Aim: Class that implements a binary point predicate, which is able to compare the position of two giv...
Point::Coordinate Coordinate
DetComputer myDetComputer
DGtal is the top-level namespace which contains all DGtal functions and types.
CustomThresholder myThresholder
bool operator()(const Point &aPoint1, const Point &aPoint2) const
void selfDisplay(std::ostream &out) const