31 #if defined(PredicateFromOrientationFunctor2_RECURSES)
32 #error Recursive header files inclusion detected in PredicateFromOrientationFunctor2.h
35 #define PredicateFromOrientationFunctor2_RECURSES
37 #if !defined PredicateFromOrientationFunctor2_h
39 #define PredicateFromOrientationFunctor2_h
44 #include "DGtal/base/Common.h"
46 #include "DGtal/base/Alias.h"
47 #include "DGtal/base/BasicFunctors.h"
48 #include "DGtal/geometry/tools/determinant/COrientationFunctor2.h"
80 template <
typename TOrientationFunctor,
bool acceptNeg = false,
bool acceptZero = false >
174 template <
typename TOrientationFunctor,
bool acceptNeg,
bool acceptZero>
183 #include "DGtal/geometry/tools/determinant/PredicateFromOrientationFunctor2.ih"
190 #undef PredicateFromOrientationFunctor2_RECURSES
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
Aim: Small adapter to models of COrientationFunctor2. It is a model of concepts::CPointPredicate....
bool operator()(const Point &aPoint) const
bool operator()(const Point &aPoint1, const Point &aPoint2, const Point &aPoint3) const
void init(const Point &aPoint1, const Point &aPoint2)
void selfDisplay(std::ostream &out) const
Functor *const myFunctorPtr
TOrientationFunctor Functor
functors::Thresholder< typename Functor::Value, acceptNeg, acceptZero > MyThresholder
PredicateFromOrientationFunctor2(Alias< Functor > aFunctor)
const MyThresholder myThresholder
BOOST_CONCEPT_ASSERT((concepts::COrientationFunctor2< Functor >))
Aim: A small functor with an operator () that compares one value to a threshold value according to tw...
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 is a refinement of COrientationFunctor, useful for simple algebraic curves that can...