private static boolean polygonDisjointPolyline_ ( 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 , true ) ; if ( relation == Relation . disjoint ) return true ; if ( relation == Relation . contains || relation == Relation . intersects ) return false ; return polygonDisjointMultiPath_ ( polygon_a , polyline_b , tolerance , progress_tracker ) ; }
Returns true if polygon_a is disjoint from polyline_b .