function testGeoPolygonPolygonCase1(geopolygon, polygon) {
  let intersects = false;
  for (let i = 0, len = polygon.edges.length; i < len; i++) {
    intersects = testGeoPolygonLine(geopolygon, pointsToLine(polygon.edges[i]));
    if (intersects === true) {
      return true;
    }
  }
  return false;
}
// Only when the geopolygon's bounds is not inside the polygon's bounds
Only when the geopolygon's bounds is not inside the polygon's bounds
Only when the geopolygon ' s bounds is not inside the polygon ' s bounds
function testGeoPolygonPolygonCase1(geopolygon, polygon) {
  let intersects = false;
  for (let i = 0, len = polygon.edges.length; i < len; i++) {
    intersects = testGeoPolygonLine(geopolygon, pointsToLine(polygon.edges[i]));
    if (intersects === true) {
      return true;
    }
  }
  return false;
}
function testGeoPolygonPolygonCase1 ( geopolygon , polygon ) { let intersects = false ; for ( let i = 0 , len = polygon . edges . length ; i < len ; i ++ ) { intersects = testGeoPolygonLine ( geopolygon , pointsToLine ( polygon . edges [ i ] ) ) ; if ( intersects === true ) { return true ; } } return false ; }
Only when the geopolygon's bounds is not inside the polygon's bounds
Only when the geopolygon ' s bounds is not inside the polygon ' s bounds