A list of
Coordinates, which may be set to prevent repeated coordinates from occurring in the list.
Other
version: 1.7
public CoordinateList()
Constructs a new list without any coordinates
public CoordinateList(Coordinate[] coord)
Constructs a new list from an array of Coordinates, allowing repeated points. (I.e. this constructor produces a
CoordinateList with exactly the same set of points as the input array.)
Parameters:
coord - coord the initial coordinates
public CoordinateList(Coordinate[] coord, boolean allowRepeated)
Constructs a new list from an array of Coordinates, allowing caller to specify if repeated points are to be removed.
Parameters:
coord - coord the array of coordinates to load into the list
allowRepeated - allowRepeated if
false, repeated points are removed