generic-rect.h revision d1bde559850436556ebee2e70e10f1cfc8aff636
f[X] = CInterval(a[X], b[X]);
f[Y] = CInterval(a[Y], b[Y]);
return result;
return result;
return result;
return result;
return result;
f[X].setMin(p[X]);
f[Y].setMin(p[Y]);
f[X].setMax(p[X]);
f[Y].setMax(p[Y]);
return *this;
return *this;
unionWith(o);
return *this;
unionWith(o);
return *this;
return result;
if (*this) {
*this = b;
if (b) unionWith(*b);
if (!*this) return;
intersectWith(*b);
if (*this) {
unionWith(b);
return *this;
intersectWith(b);
return *this;
intersectWith(b);
return *this;
unionWith(*b);
return r && intersects(*r);
return !r || contains(*r);
#ifdef _GLIBCXX_IOSTREAM
return out;