DGtal  1.2.0
Public Member Functions
DGtal::functors::Point2ShapePredicateComparator< T, true, true > Struct Template Reference

Aim: A small struct with an operator that compares two values (>=). More...

#include <DGtal/shapes/fromPoints/Point2ShapePredicate.h>

Public Member Functions

bool operator() (const T &q, const T &t) const
 

Detailed Description

template<typename T>
struct DGtal::functors::Point2ShapePredicateComparator< T, true, true >

Aim: A small struct with an operator that compares two values (>=).

Template Parameters
Ttype for a signed quantity that is comparable
See also
Point2ShapePredicate

Definition at line 266 of file Point2ShapePredicate.h.

Member Function Documentation

◆ operator()()

template<typename T >
bool DGtal::functors::Point2ShapePredicateComparator< T, true, true >::operator() ( const T &  q,
const T &  t 
) const
inline

Compares two values.

Parameters
qleft value.
tright value.
Returns
'true' if q >= t, 'false' otherwise

Definition at line 273 of file Point2ShapePredicate.h.

274  {
275  std::greater_equal<T> c;
276  return c(q,t);
277  }

The documentation for this struct was generated from the following file: