DGtal 1.4.0
|
Aim: A small struct with an operator that compares two values according to two bool template parameters. More...
#include <DGtal/shapes/fromPoints/Point2ShapePredicate.h>
Public Member Functions | |
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 parameters.
T | type for a signed quantity that is comparable |
b1 | a bool for the comparison sign ('true' for >, 'false' for <) |
b2 | a bool for the equality ('true' for a large inequality, 'false' for a strict inequality) |
NB: only specialized versions should be used.
Definition at line 177 of file Point2ShapePredicate.h.
|
inline |
Compares two values.
q | left value. |
t | right value. |
Definition at line 184 of file Point2ShapePredicate.h.