public boolean isIntersectingNE(Envelope2D other) {
		return ((xmin <= other.xmin) ? xmax >= other.xmin : other.xmax >= xmin)
				&& // check that x projections overlap
				((ymin <= other.ymin) ? ymax >= other.ymin : other.ymax >= ymin); // check
																					// that
																					// y
																					// projections
																					// overlap
	}
public boolean isIntersectingNE ( Envelope2D other ) { return ( ( xmin <= other . xmin ) ? xmax >= other . xmin : other . xmax >= xmin ) && ( ( ymin <= other . ymin ) ? ymax >= other . ymin : other . ymax >= ymin ) ; }
Checks if this envelope intersects the other assuming neither one is empty.
@param other The other envelope.
@return True if this envelope intersects the other. Assumes this and
other envelopes are not empty.