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

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

Member Function Documentation

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

268  {
269  std::greater_equal<T> c;
270  return c(q,t);
271  }

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