public class CoordinateList
extends java.util.ArrayList
Constructor and Description |
---|
CoordinateList() |
Modifier and Type | Method and Description |
---|---|
void |
add(com.vividsolutions.jts.geom.Coordinate coord) |
boolean |
add(java.lang.Object obj) |
boolean |
addAll(java.util.Collection coll) |
void |
closeRing()
Ensure this coordList is a ring, by adding the start point if necessary
|
com.vividsolutions.jts.geom.Coordinate |
getCoordinate(int i) |
com.vividsolutions.jts.geom.Coordinate[] |
toCoordinateArray() |
add, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
public com.vividsolutions.jts.geom.Coordinate getCoordinate(int i)
public boolean add(java.lang.Object obj)
add
in interface java.util.Collection
add
in interface java.util.List
add
in class java.util.ArrayList
public void add(com.vividsolutions.jts.geom.Coordinate coord)
public boolean addAll(java.util.Collection coll)
addAll
in interface java.util.Collection
addAll
in interface java.util.List
addAll
in class java.util.ArrayList
public void closeRing()
public com.vividsolutions.jts.geom.Coordinate[] toCoordinateArray()