private static boolean polylineTouchesPoint_ ( Polyline polyline_a , Point point_b , double tolerance , ProgressTracker progress_tracker ) { // Quick rasterize test to see whether the the geometries are disjoint. if ( tryRasterizedContainsOrDisjoint_ ( polyline_a , point_b , tolerance , false ) == Relation . disjoint ) return false ; Point2D pt_b = point_b . getXY ( ) ; return linearPathTouchesPointImpl_ ( polyline_a , pt_b , tolerance ) ; }
Returns true if polyline_a touches point_b .