checks for shallowness over a sample of points in the given section . this helps prevents the siplification from incrementally `` skipping '' over points which are in fact non-shallow . concode_field_sep int KEEP concode_elem_sep double distanceTol concode_elem_sep int NUM_PTS_TO_CHECK concode_elem_sep Coordinate[] inputLine concode_elem_sep byte[] isDeleted concode_elem_sep int INIT concode_elem_sep int angleOrientation concode_elem_sep int DELETE concode_field_sep boolean isDeletable concode_elem_sep boolean deleteShallowConcavities concode_elem_sep Coordinate[] collapseLine concode_elem_sep boolean isShallow concode_elem_sep boolean isConcave concode_elem_sep boolean isShallowConcavity concode_elem_sep int findNextNonDeletedIndex concode_elem_sep Coordinate[] simplify concode_elem_sep Coordinate[] simplify
boolean function ( Coordinate arg0 , Coordinate arg1 , int arg2 , int arg3 , double arg4 ) { int loc0 = ( arg3 - arg2 ) / NUM_PTS_TO_CHECK ; if ( loc0 <= 0 ) loc0 = 1 ; for ( int loc1 = arg2 ; loc1 < arg3 ; loc1 += loc0 ) { if ( ! isShallow ( arg0 , arg1 , inputLine [ loc1 ] , arg4 ) ) return false ; } return true ; }