libcrn  3.9.5
A document image processing library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
crn::Point2D< T >::Comparer Struct Reference

Functor to compare points. More...

#include <CRNPoint2D.h>

Public Member Functions

 Comparer (Direction dir)
 Constructor. More...
 
bool operator() (const Point2D &p1, const Point2D &p2) const
 functor More...
 

Detailed Description

template<typename T>
struct crn::Point2D< T >::Comparer

Functor to compare points.

Definition at line 78 of file CRNPoint2D.h.

Constructor & Destructor Documentation

template<typename T>
crn::Point2D< T >::Comparer::Comparer ( Direction  dir)
inline

Constructor.

Parameters
[in]dirthe direction LEFT = left to right, BOTTOM = bottom to top, etc.

Definition at line 84 of file CRNPoint2D.h.

Member Function Documentation

template<typename T>
bool crn::Point2D< T >::Comparer::operator() ( const Point2D p1,
const Point2D p2 
) const
inline

functor

Definition at line 86 of file CRNPoint2D.h.


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