simplify method

void simplify(
  1. TaggedLineString line
)

Simplifies the given {@link TaggedLineString} using the distance tolerance specified.

@param line the linestring to simplify

Implementation

void simplify(TaggedLineString line) {
  this.line = line;
  linePts = line.getParentCoordinates();
  simplifySection(0, linePts.length - 1, 0);
}