coversEnvelope method
Tests if the Envelope other
lies wholely inside this Envelope
(inclusive of the boundary).
@param other the Envelope
to check
@return true if this Envelope
covers the other
Implementation
bool coversEnvelope(Envelope other) {
if (isNull() || other.isNull()) {
return false;
}
return other.getMinX() >= _minx &&
other.getMaxX() <= _maxx &&
other.getMinY() >= _miny &&
other.getMaxY() <= _maxy;
}