private static boolean polygonCrossesPolyline_ ( Polygon polygon_a , Polyline polyline_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 , polyline_b , tolerance , false ) ; if ( relation == Relation . disjoint || relation == Relation . contains ) return false ; return polygonCrossesPolylineImpl_ ( polygon_a , polyline_b , tolerance , null ) ; }
Returns true if polygon_a crosses polyline_b .