simplify the input coordinate list . if the distance tolerance is positive , concavities on the left side of the line are simplified . if the supplied distance tolerance is negative , concavities on the right side of the line are simplified . 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 boolean isShallowSampled concode_elem_sep int findNextNonDeletedIndex
Coordinate [ ] function ( double arg0 ) { this . distanceTol = Math . abs ( arg0 ) ; if ( arg0 < 0 ) angleOrientation = CGAlgorithms . CLOCKWISE ; isDeleted = new byte [ inputLine . length ] ; boolean loc0 = false ; do { loc0 = deleteShallowConcavities ( ) ; } while ( loc0 ) ; return collapseLine ( ) ; }