simplify static method

List<Coordinate> simplify(
  1. List<Coordinate> inputLine,
  2. double distanceTol
)

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.

@param inputLine the coordinate list to simplify @param distanceTol simplification distance tolerance to use @return the simplified coordinate list

Implementation

static List<Coordinate> simplify(
    List<Coordinate> inputLine, double distanceTol) {
  BufferInputLineSimplifier simp = new BufferInputLineSimplifier(inputLine);
  return simp.simplifyWithTol(distanceTol);
}