A simple class acting as a comparator for Point2d using the reference distance. Useful while using std::sort. More...
#include <point.h>
Public Member Functions | |
bool | operator() (Point2d i, Point2d j) |
comapares 2 Point2d objects. When used with std::sort, returns a sorted ist of Point2d objects (ascending w.r.t distance_from_ref |
A simple class acting as a comparator for Point2d using the reference distance. Useful while using std::sort.