31#if defined(Point2ShapePredicate_RECURSES)
32#error Recursive header files inclusion detected in Point2ShapePredicate.h
35#define Point2ShapePredicate_RECURSES
37#if !defined Point2ShapePredicate_h
39#define Point2ShapePredicate_h
46#include "DGtal/base/Common.h"
94 template <
typename TSurface,
bool isUpward,
bool isClosed>
100 typedef typename TSurface::Point
Point;
176template <
typename T,
bool b1,
bool b2>
231 std::less_equal<T> c;
275 std::greater_equal<T> c;
288template <
typename TSurface,
bool isUpward,
bool isClosed>
299#include "DGtal/shapes/fromPoints/Point2ShapePredicate.ih"
306#undef Point2ShapePredicate_RECURSES
Point2ShapePredicate & operator=(const Point2ShapePredicate &other)=default
Point2ShapePredicate(const Point2ShapePredicate &other)
TSurface::Distance Distance
Point2ShapePredicate(const TSurface &aSurface)
void selfDisplay(std::ostream &out) const
bool operator()(const Point &p) const
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
bool operator()(const T &q, const T &t) const
bool operator()(const T &q, const T &t) const
bool operator()(const T &q, const T &t) const
bool operator()(const T &q, const T &t) const
Aim: A small struct with an operator that compares two values according to two bool template paramete...
bool operator()(const T &q, const T &t) const