Public Member Functions
bwi_mapper::Point2dDistanceComp Class Reference

A simple class acting as a comparator for Point2d using the reference distance. Useful while using std::sort. More...

#include <point.h>

List of all members.

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

Detailed Description

A simple class acting as a comparator for Point2d using the reference distance. Useful while using std::sort.

Definition at line 68 of file point.h.


Member Function Documentation

bool bwi_mapper::Point2dDistanceComp::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

Definition at line 46 of file point.cpp.


The documentation for this class was generated from the following files:


bwi_mapper
Author(s): Piyush Khandelwal
autogenerated on Fri Aug 28 2015 10:14:35