testOverlap static method
Implementation
static bool testOverlap(AABB a, AABB b) {
  double d1x = b[0] - a[2];
  double d1y = b[1] - a[3];
  double d2x = a[0] - b[2];
  double d2y = a[1] - b[3];
  if (d1x > 0.0 || d1y > 0.0) {
    return false;
  }
  if (d2x > 0.0 || d2y > 0.0) {
    return false;
  }
  return true;
}