31#if defined(PolarPointComparatorBy2x2DetComputer_RECURSES)
32#error Recursive header files inclusion detected in PolarPointComparatorBy2x2DetComputer.h
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 > >
245 template <
typename TPo
int,
typename TDetComputer>
256#include "DGtal/geometry/tools/PolarPointComparatorBy2x2DetComputer.ih"
263#undef PolarPointComparatorBy2x2DetComputer_RECURSES
Aim: Class that implements a binary point predicate, which is able to compare the position of two giv...
DetComputer::ResultInteger ResultInteger
PolarPointComparatorBy2x2DetComputer(const PolarPointComparatorBy2x2DetComputer &other)
bool isBefore(const Point &aU, const Point &aV) const
CustomThresholder myThresholder
void setPole(const Point &aPole)
Point::Coordinate Coordinate
PolarPointComparatorBy2x2DetComputer(const Point &aPoint)
DetComputer myDetComputer
functors::Thresholder< ResultInteger, false, false > CustomThresholder
bool operator()(const Point &aPoint1, const Point &aPoint2) const
BOOST_CONCEPT_ASSERT((C2x2DetComputer< DetComputer >))
PolarPointComparatorBy2x2DetComputer()
PolarPointComparatorBy2x2DetComputer & operator=(const PolarPointComparatorBy2x2DetComputer &other)
void selfDisplay(std::ostream &out) const
Aim: A small functor with an operator () that compares one value to a threshold value according to tw...
std::ostream & operator<<(std::ostream &out, const FunctorHolder< FunctorStorage, NeedDereference > &object)
Overloads 'operator<<' for displaying objects of class FunctorHolder.
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: This concept gathers all models that are able to compute the (sign of the) determinant of a 2x2 ...