35 #ifndef AIMS_DISTANCEMAP_STLSORT_H 36 #define AIMS_DISTANCEMAP_STLSORT_H 52 :
public std::binary_function<Point3df,Point3df, bool>
56 return p1[2] < p2[2] ||
60 ( p1[0] < p2[0] ) ) ) );
69 return p1[2] < p2[2] ||
73 ( p1[0] < p2[0] ) ) ) );
79 :
public std::binary_function<std::pair<T,T>, std::pair<T,T>, bool>
82 const std::pair<T,T> & r )
const 84 return p.first < r.first
85 || (p.first == r.first && p.second < r.second) ;
93 :
public std::binary_function<std::set<T>,std::set<T>, bool>
95 bool operator () (
const std::set<T> & s1,
const std::set<T> & s2 )
const 97 typename std::set<T>::iterator
98 is1=s1.begin(),es1=s1.end(),is2=s2.begin();
99 unsigned n1 = s1.size(), n2 = s2.size();
104 while ( ( is1 != es1) && ( (*is1) == (*is2) ) )
110 return( (*is1) < (*is2) );
bool operator()(const Point3df &p1, const Point3df &p2) const
std::set< Point3df, Point3dfCompare > Point3dfSet
std::map< Point3df, Point3dfSet, Point3dfCompare > Point3dfNeigh