addList method

bool addList(
  1. List<Coordinate> coord,
  2. bool allowRepeated
)

Adds an array of coordinates to the list. @param coord The coordinates @param allowRepeated if set to false, repeated coordinates are collapsed @return true (as by general collection contract)

Implementation

bool addList(List<Coordinate> coord, bool allowRepeated) {
  add3(coord, allowRepeated, true);
  return true;
}