isContains method

bool isContains()

Tests whether this IntersectionMatrix is T*****FF*.

@return true if the first Geometry contains the second

Implementation

bool isContains() {
  return isTrue(matrix[Location.INTERIOR][Location.INTERIOR]) &&
      matrix[Location.EXTERIOR][Location.INTERIOR] == Dimension.FALSE &&
      matrix[Location.EXTERIOR][Location.BOUNDARY] == Dimension.FALSE;
}