class PointSequenceCoordinateSequenceFactory
extends java.lang.Object
implements org.locationtech.jts.geom.CoordinateSequenceFactory, java.io.Serializable
CoordinateSequenceFactory that creates PointSequences (which extend
CoordinateSequences).| Constructor and Description |
|---|
PointSequenceCoordinateSequenceFactory() |
| Modifier and Type | Method and Description |
|---|---|
private <P extends Position> |
copy(org.locationtech.jts.geom.Coordinate co,
double[] ordinates,
CoordinateReferenceSystem<P> crs) |
org.locationtech.jts.geom.CoordinateSequence |
create(org.locationtech.jts.geom.Coordinate[] coordinates) |
org.locationtech.jts.geom.CoordinateSequence |
create(org.locationtech.jts.geom.CoordinateSequence coordSeq) |
org.locationtech.jts.geom.CoordinateSequence |
create(int size,
int dimension) |
private CoordinateReferenceSystem<?> |
determineCRS(org.locationtech.jts.geom.Coordinate[] coordinates) |
private <P extends Position> |
fromCoordinateArray(org.locationtech.jts.geom.Coordinate[] coordinates,
CoordinateReferenceSystem<P> crs) |
<P extends Position> |
toPositionSequence(org.locationtech.jts.geom.CoordinateSequence cs,
java.lang.Class<P> posType,
CoordinateReferenceSystem<P> crs) |
public org.locationtech.jts.geom.CoordinateSequence create(org.locationtech.jts.geom.Coordinate[] coordinates)
create in interface org.locationtech.jts.geom.CoordinateSequenceFactorypublic org.locationtech.jts.geom.CoordinateSequence create(org.locationtech.jts.geom.CoordinateSequence coordSeq)
create in interface org.locationtech.jts.geom.CoordinateSequenceFactorypublic org.locationtech.jts.geom.CoordinateSequence create(int size,
int dimension)
create in interface org.locationtech.jts.geom.CoordinateSequenceFactorypublic <P extends Position> PositionSequence<P> toPositionSequence(org.locationtech.jts.geom.CoordinateSequence cs, java.lang.Class<P> posType, CoordinateReferenceSystem<P> crs)
private CoordinateReferenceSystem<?> determineCRS(org.locationtech.jts.geom.Coordinate[] coordinates)
private <P extends Position> org.locationtech.jts.geom.CoordinateSequence fromCoordinateArray(org.locationtech.jts.geom.Coordinate[] coordinates, CoordinateReferenceSystem<P> crs)
private <P extends Position> void copy(org.locationtech.jts.geom.Coordinate co, double[] ordinates, CoordinateReferenceSystem<P> crs)