containsEnvelope method

bool containsEnvelope(
  1. Envelope other
)

Tests if the Envelope other lies wholely inside this Envelope (inclusive of the boundary).

Note that this is not the same definition as the SFS contains, which would exclude the envelope boundary.

@param other the Envelope to check @return true if other is contained in this Envelope

@see #covers(Envelope)

Implementation

bool containsEnvelope(Envelope other) {
  return coversEnvelope(other);
}