getBoundaryPoints method

List<Coordinate> getBoundaryPoints()

Implementation

List<Coordinate> getBoundaryPoints() {
  List coll = getBoundaryNodes();
  List<Coordinate> pts = []; //..length = (coll.length);
  int i = 0;
  for (Iterator it = coll.iterator; it.moveNext();) {
    Node node = it.current as Node;
    pts.add(node.getCoordinate().copy());
    // pts[i++] = node.getCoordinate().copy();
  }
  return pts;
}