CoordinateList.fromList constructor
CoordinateList.fromList(
- List<
Coordinate> coord
Constructs a new list from an array of Coordinates, allowing repeated points. (I.e. this constructor produces a {@link CoordinateList} with exactly the same set of points as the input array.)
@param coord the initial coordinates
Implementation
CoordinateList.fromList(List<Coordinate> coord) {
_backingList = List.from(coord);
addList(coord, true);
}