Package org.locationtech.jts.geom
Class DefaultCoordinateSequenceFactory
java.lang.Object
org.locationtech.jts.geom.DefaultCoordinateSequenceFactory
- All Implemented Interfaces:
Serializable,CoordinateSequenceFactory
public class DefaultCoordinateSequenceFactory
extends Object
implements CoordinateSequenceFactory, Serializable
Deprecated.
no longer used
Creates CoordinateSequences represented as an array of
Coordinates.- Version:
- 1.7
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final DefaultCoordinateSequenceFactoryDeprecated.private static final longDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(int size, int dimension) Deprecated.Creates aCoordinateSequenceof the specified size and dimension.create(Coordinate[] coordinates) Deprecated.Returns a DefaultCoordinateSequence based on the given array (the array is not copied).create(CoordinateSequence coordSeq) Deprecated.Creates aCoordinateSequencewhich is a copy of the givenCoordinateSequence.instance()Deprecated.Returns the singleton instance of DefaultCoordinateSequenceFactoryprivate ObjectDeprecated.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDDeprecated.- See Also:
-
instanceObject
Deprecated.
-
-
Constructor Details
-
DefaultCoordinateSequenceFactory
public DefaultCoordinateSequenceFactory()Deprecated.
-
-
Method Details
-
readResolve
Deprecated. -
instance
Deprecated.Returns the singleton instance of DefaultCoordinateSequenceFactory -
create
Deprecated.Returns a DefaultCoordinateSequence based on the given array (the array is not copied).- Specified by:
createin interfaceCoordinateSequenceFactory- Parameters:
coordinates- the coordinates, which may not be null nor contain null elements
-
create
Deprecated.Description copied from interface:CoordinateSequenceFactoryCreates aCoordinateSequencewhich is a copy of the givenCoordinateSequence. This method must handle null arguments by creating an empty sequence.- Specified by:
createin interfaceCoordinateSequenceFactory- Parameters:
coordSeq- the coordinate sequence to copy- See Also:
-
create
Deprecated.Description copied from interface:CoordinateSequenceFactoryCreates aCoordinateSequenceof the specified size and dimension. For this to be useful, theCoordinateSequenceimplementation 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.
- Specified by:
createin interfaceCoordinateSequenceFactory- Parameters:
size- the number of coordinates in the sequencedimension- the dimension of the coordinates in the sequence (if user-specifiable, otherwise ignored)- See Also:
-