function testGeoPolygonPolygonCase2(geopolygon, polygon) {
  let intersects = false;
  const { numPolygons, polygons } = geopolygon;
  for (let n = 0; n < numPolygons; n++) {
    intersects = testPolygonPolygon(polygon, polygons[n]);
    if (intersects === true) {
      return true;
    }
  }
  return false;
}
// Only when the geopolygon's bounds is inside the polygon's bounds
Only when the geopolygon's bounds is inside the polygon's bounds
Only when the geopolygon ' s bounds is inside the polygon ' s bounds
function testGeoPolygonPolygonCase2(geopolygon, polygon) {
  let intersects = false;
  const { numPolygons, polygons } = geopolygon;
  for (let n = 0; n < numPolygons; n++) {
    intersects = testPolygonPolygon(polygon, polygons[n]);
    if (intersects === true) {
      return true;
    }
  }
  return false;
}
function testGeoPolygonPolygonCase2 ( geopolygon , polygon ) { let intersects = false ; const { numPolygons , polygons } = geopolygon ; for ( let n = 0 ; n < numPolygons ; n ++ ) { intersects = testPolygonPolygon ( polygon , polygons [ n ] ) ; if ( intersects === true ) { return true ; } } return false ; }
Only when the geopolygon's bounds is inside the polygon's bounds
Only when the geopolygon ' s bounds is inside the polygon ' s bounds