setMaxCoordinatesPerLine method

void setMaxCoordinatesPerLine(
  1. int coordsPerLine
)

Sets the maximum number of coordinates per line written in formatted output. If the provided coordinate number is <= 0, coordinates will be written all on one line.

@param coordsPerLine the number of coordinates per line to output.

Implementation

void setMaxCoordinatesPerLine(int coordsPerLine) {
  this.coordsPerLine = coordsPerLine;
}