com.vividsolutions.jts.geom
Interface CoordinateSequenceFactory
- All Known Implementing Classes:
- DefaultCoordinateSequenceFactory
- public interface CoordinateSequenceFactory
An object that knows how to build a particular implementation of
CoordinateSequence from an array of Coordinates.
- Version:
- 1.4.0
Method Summary |
CoordinateSequence |
create(Coordinate[] coordinates)
Returns a CoordinateSequence based on the given array; whether or not the
array is copied is implementation-dependent. |
create
public CoordinateSequence create(Coordinate[] coordinates)
- Returns a CoordinateSequence based on the given array; whether or not the
array is copied is implementation-dependent.
- Parameters:
coordinates
- the coordinates, which may not be null nor contain null
elements