addWithRepeated method
Adds a point to the current line.
@param pt the Coordinate to add
Implementation
void addWithRepeated(Coordinate pt, bool allowRepeatedPoints) {
if (coordList == null) coordList = new CoordinateList();
coordList!.addCoord(pt, allowRepeatedPoints);
lastPt = pt;
}