intersectsEnvelope method
Tests if the region defined by other
intersects the region of this Envelope
.
@param other the Envelope
which this Envelope
is
being checked for intersecting
@return true
if the Envelope
s intersect
Implementation
bool intersectsEnvelope(Envelope other) {
if (isNull() || other.isNull()) {
return false;
}
return !(other._minx > _maxx ||
other._maxx < _minx ||
other._miny > _maxy ||
other._maxy < _miny);
}