disjoint method
Tests if the region defined by other
is disjoint from the region of this Envelope
.
@param other the Envelope
being checked for disjointness
@return true
if the Envelope
s are disjoint
@see #intersects(Envelope)
Implementation
bool disjoint(Envelope other) {
if (isNull() || other.isNull()) {
return true;
}
return other._minx > _maxx ||
other._maxx < _minx ||
other._miny > _maxy ||
other._maxy < _miny;
}