add method

void add(
  1. Coordinate pt
)

Adds a point to the current line.

@param pt the Coordinate to add

Implementation

void add(Coordinate pt) {
  addWithRepeated(pt, true);
}