CoordinateSequenceFactory class abstract
A factory to create concrete instances of {@link CoordinateSequence}s. Used to configure {@link GeometryFactory}s to provide specific kinds of CoordinateSequences.
@version 1.7
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(
List< Coordinate> coordinates) → CoordinateSequence - Returns a {@link CoordinateSequence} based on the given array. Whether the array is copied or simply referenced is implementation-dependent. This method must handle null arguments by creating an empty sequence.
-
createFromSequence(
CoordinateSequence coordSeq) → CoordinateSequence - Creates a {@link CoordinateSequence} which is a copy of the given {@link CoordinateSequence}. This method must handle null arguments by creating an empty sequence.
-
createSizeDim(
int size, int dimension) → CoordinateSequence - Creates a {@link CoordinateSequence} of the specified size and dimension. For this to be useful, the {@link CoordinateSequence} implementation must be mutable.
-
createSizeDimMeas(
int size, int dimension, int measures) → CoordinateSequence - Creates a {@link CoordinateSequence} of the specified size and dimension with measure support. For this to be useful, the {@link CoordinateSequence} implementation must be mutable.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited