getCoordinates method

List<Coordinate> getCoordinates()

Implementation

List<Coordinate> getCoordinates() {
  /*
   // check that points are a ring - add the startpoint again if they are not
 if (ptList.size() > 1) {
    Coordinate start  = (Coordinate) ptList.get(0);
    Coordinate end    = (Coordinate) ptList.get(ptList.size() - 1);
    if (! start.equals(end) ) addPt(start);
  }
  */
  List<Coordinate> coord = List.from(ptList);
  return coord;
}