Public Member Functions | |
bool | operator() (const abstract::point< Exact > &l, const abstract::point< Exact > &r) const |
Test if the coordinates of a point l are not greater than the coordinates of a point r. |
Definition at line 242 of file point.hh.
bool oln::internal::default_less< abstract::point< Exact > >::operator() | ( | const abstract::point< Exact > & | l, | |
const abstract::point< Exact > & | r | |||
) | const [inline] |
Test if the coordinates of a point l are not greater than the coordinates of a point r.
Definition at line 256 of file point.hh.
References oln::abstract::point< Exact >::nth().
00258 { 00259 for (unsigned i = 0; i < abstract::point<Exact>::dim; ++i) 00260 if (l.nth(i) < r.nth(i)) 00261 return true; 00262 else if (l.nth(i) > r.nth(i)) 00263 return false; 00264 return false; 00265 }