private static boolean polygonOverlapsPolygon_ ( Polygon polygon_a , Polygon polygon_b , double tolerance , ProgressTracker progress_tracker ) { // Quick rasterize test to see whether the the geometries are disjoint, // or if one is contained in the other. int relation = tryRasterizedContainsOrDisjoint_ ( polygon_a , polygon_b , tolerance , false ) ; if ( relation == Relation . disjoint || relation == Relation . contains || relation == Relation . within ) return false ; return polygonOverlapsPolygonImpl_ ( polygon_a , polygon_b , tolerance , progress_tracker ) ; }
Returns true if polygon_a overlaps polygon_b .