DGtal 1.3.0
Loading...
Searching...
No Matches
Public Member Functions
DGtal::functors::Point2ShapePredicateComparator< T, true, false > 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, false >

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 244 of file Point2ShapePredicate.h.

Member Function Documentation

◆ operator()()

template<typename T >
bool DGtal::functors::Point2ShapePredicateComparator< T, true, false >::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 251 of file Point2ShapePredicate.h.

252 {
253 std::greater<T> c;
254 return c(q,t);
255 }

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