simplify method

void simplify(
  1. List<TaggedLineString> taggedLines
)

Simplify a collection of TaggedLineStrings

@param taggedLines the collection of lines to simplify

Implementation

void simplify(List<TaggedLineString> taggedLines) {
  for (TaggedLineString line in taggedLines) {
    inputIndex.add(line);
  }
  for (TaggedLineString line in taggedLines) {
  TaggedLineStringSimplifier tlss
  = new TaggedLineStringSimplifier(inputIndex, outputIndex);
  tlss.setDistanceTolerance(distanceTolerance);
  tlss.simplify(line);
  }
}