question: private boolean isRedundant ( Coordinate pt ) { if ( ptList . size ( ) < 1 ) return false ; Coordinate lastPt = ( Coordinate ) ptList . get ( ptList . size ( ) - 1 ) ; double ptDist = pt . distance ( lastPt ) ; if ( ptDist < minimimVertexDistance ) return true ; return false ; }
target:  Tests whether the given point is redundant relative to the previous point in the list (up to tolerance).