31 #if defined(Point2ShapePredicate_RECURSES) 32 #error Recursive header files inclusion detected in Point2ShapePredicate.h 33 #else // defined(Point2ShapePredicate_RECURSES) 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>
170 template <
typename T,
bool b1,
bool b2>
193 template <
typename T>
215 template <
typename T>
225 std::less_equal<T> c;
237 template <
typename T>
259 template <
typename T>
269 std::greater_equal<T> c;
282 template <
typename TSurface,
bool isUpward,
bool isClosed>
293 #include "DGtal/shapes/fromPoints/Point2ShapePredicate.ih" 298 #endif // !defined Point2ShapePredicate_h 300 #undef Point2ShapePredicate_RECURSES 301 #endif // else defined(Point2ShapePredicate_RECURSES) bool operator()(const T &q, const T &t) const
TSurface::Distance Distance
bool operator()(const T &q, const T &t) const
bool operator()(const T &q, const T &t) const
Point2ShapePredicate(const TSurface &aSurface)
Aim: Predicate returning 'true' iff a given point is in the 'interior' of a given shape...
void selfDisplay(std::ostream &out) const
Aim: A small struct with an operator that compares two values according to two bool template paramete...
DGtal is the top-level namespace which contains all DGtal functions and types.
bool operator()(const T &q, const T &t) const
std::ostream & operator<<(std::ostream &out, const PolarPointComparatorBy2x2DetComputer< TPoint, TDetComputer > &object)
bool operator()(const T &q, const T &t) const
bool operator()(const Point &p) const