Public Member Functions | |
bool | operator() (const abstract::dpoint< Exact > &l, const abstract::dpoint< Exact > &r) const |
Test if the coordinates of a dpoint l are not greater than the coordinates of a dpoint r. |
Definition at line 262 of file dpoint.hh.
bool oln::internal::default_less< abstract::dpoint< Exact > >::operator() | ( | const abstract::dpoint< Exact > & | l, | |
const abstract::dpoint< Exact > & | r | |||
) | const [inline] |
Test if the coordinates of a dpoint l are not greater than the coordinates of a dpoint r.
Definition at line 271 of file dpoint.hh.
References oln::abstract::dpoint< Exact >::nth().
00273 { 00274 for (unsigned i = 0; i < abstract::dpoint<Exact>::dim; ++i) 00275 if (l.nth(i) < r.nth(i)) 00276 return true; 00277 else if (l.nth(i) > r.nth(i)) 00278 return false; 00279 return false; 00280 }