computeContainmentDistance method

void computeContainmentDistance()

Implementation

void computeContainmentDistance() {
  List<GeometryLocation?> locPtPoly = []..length = 2;
  // test if either geometry has a vertex inside the other
  computeContainmentDistance1(0, locPtPoly);
  if (minDistance <= terminateDistance) return;
  computeContainmentDistance1(1, locPtPoly);
}