A ``greater than'' functor comparing points w.r.t. More...
#include <greater_point.hh>
Public Types | |
typedef I::psite | point |
Public Member Functions | |
greater_point (const Image< I > &ima) | |
bool | operator() (const point &x, const point &y) |
Is x greater than y? | |
Private Attributes | |
const I & | ima_ |
A ``greater than'' functor comparing points w.r.t.
the values they refer to in an image.
This functor used in useful to implement ordered queues of points.
Definition at line 42 of file greater_point.hh.
typedef I ::psite mln::util::greater_point< I >::point |
Definition at line 45 of file greater_point.hh.
mln::util::greater_point< I >::greater_point | ( | const Image< I > & | ima | ) |
Definition at line 67 of file greater_point.hh.
bool mln::util::greater_point< I >::operator() | ( | const point & | x, | |
const point & | y | |||
) |
Is x greater than y?
Definition at line 74 of file greater_point.hh.
References mln::util::greater_point< I >::ima_.
const I& mln::util::greater_point< I >::ima_ [private] |
Definition at line 53 of file greater_point.hh.
Referenced by mln::util::greater_point< I >::operator()().