CoordinateSequenceFactory
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
Value members
Abstract methods
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.
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.
- Value Params
- coordinates
the coordinates
Creates a {link CoordinateSequence} which is a copy of the given {link CoordinateSequence}. This method must handle null arguments by creating an empty sequence.
Creates a {link CoordinateSequence} which is a copy of the given {link CoordinateSequence}. This method must handle null arguments by creating an empty sequence.
- Value Params
- coordSeq
the coordinate sequence to copy
Creates a {link CoordinateSequence} of the specified size and dimension. For this to be useful, the {link CoordinateSequence} implementation must be mutable.
Creates a {link CoordinateSequence} of the specified size and dimension. For this to be useful, the {link CoordinateSequence} implementation must be mutable.
If the requested dimension is larger than the CoordinateSequence implementation can provide, then a sequence of maximum possible dimension should be created. An error should not be thrown.
- Value Params
- dimension
the dimension of the coordinates in the sequence (if user-specifiable, otherwise ignored)
- size
the number of coordinates in the sequence
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.
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.
If the requested dimension or measures are larger than the CoordinateSequence implementation can provide, then a sequence of maximum possible dimension should be created. An error should not be thrown.
- Value Params
- dimension
the dimension of the coordinates in the sequence (if user-specifiable, otherwise ignored)
- measures
the number of measures of the coordinates in the sequence (if user-specifiable, otherwise ignored)
- size
the number of coordinates in the sequence