computeDisjointIM method

void computeDisjointIM(
  1. IntersectionMatrix im
)

If the Geometries are disjoint, we need to enter their dimension and boundary dimension in the Ext rows in the IM

Implementation

void computeDisjointIM(IntersectionMatrix im) {
  Geometry ga = arg[0].getGeometry()!;
  if (!ga.isEmpty()) {
    im.set(Location.INTERIOR, Location.EXTERIOR, ga.getDimension());
    im.set(Location.BOUNDARY, Location.EXTERIOR, ga.getBoundaryDimension());
  }
  Geometry gb = arg[1].getGeometry()!;
  if (!gb.isEmpty()) {
    im.set(Location.EXTERIOR, Location.INTERIOR, gb.getDimension());
    im.set(Location.EXTERIOR, Location.BOUNDARY, gb.getBoundaryDimension());
  }
}