Class CoordinateArraySequenceFactory

Hierarchy: Object , CoordinateArraySequenceFactory
All Implemented Interfaces: CoordinateSequenceFactory, Serializable
public final class CoordinateArraySequenceFactory
implements Serializable , CoordinateSequenceFactory
Creates CoordinateSequences represented as an array of Coordinates.

Other

  • version: 1.7
public static CoordinateArraySequenceFactory instance()
Returns the singleton instance of CoordinateArraySequenceFactory
public CoordinateSequence create(Coordinate[] coordinates)
Returns a CoordinateArraySequence based on the given array (the array is not copied).
Parameters:
coordinates - coordinates the coordinates, which may not be null nor contain null elements
public CoordinateSequence create(CoordinateSequence coordSeq)
See also:
org.locationtech.jts.geom.CoordinateSequenceFactory#create(org.locationtech.jts.geom.CoordinateSequence)
public CoordinateSequence create(int size, int dimension)
The created sequence dimension is clamped to be <= 3.
See also:
org.locationtech.jts.geom.CoordinateSequenceFactory#create(int, int)
public CoordinateSequence create(int size, int dimension, int measures)