VLTIF
CS426FinalProject
|
#include <PointTracker.h>
Public Member Functions | |
bool | operator() (Point const &a, Point const &b) |
Functor which will compare two OpenCV Points. Used for the set stl container.
a | First point |
b | Second point |
Definition at line 33 of file PointTracker.h.
bool PointComp::operator() | ( | Point const & | a, |
Point const & | b | ||
) |
Function operator for the Point Comparison Structure
a | First point |
b | Second point |
Definition at line 16 of file PointTracker.cpp.
References PointDistanceL2().
{ return ( PointDistanceL2(a, Point(0, 0)) < PointDistanceL2(b, Point(0, 0))); }