Package net.opengis.gml.v32.impl
Class JTSCoordinatesDoubleArray
java.lang.Object
net.opengis.gml.v32.impl.JTSCoordinatesDoubleArray
- All Implemented Interfaces:
Cloneable,org.locationtech.jts.geom.CoordinateSequence
public class JTSCoordinatesDoubleArray
extends Object
implements org.locationtech.jts.geom.CoordinateSequence
Implementation of JTS coordinate sequence wrapping a double array
- Since:
- Dec 23, 2014
-
Field Summary
Fields inherited from interface org.locationtech.jts.geom.CoordinateSequence
M, X, Y, Z -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()org.locationtech.jts.geom.CoordinateSequencecopy()final org.locationtech.jts.geom.EnvelopeexpandEnvelope(org.locationtech.jts.geom.Envelope env) final org.locationtech.jts.geom.CoordinategetCoordinate(int i) final voidgetCoordinate(int i, org.locationtech.jts.geom.Coordinate coord) final org.locationtech.jts.geom.CoordinategetCoordinateCopy(int i) intfinal doublegetOrdinate(int i, int ordinateIndex) final doublegetX(int i) final doublegetY(int i) voidsetNumDimensions(int numDims) final voidsetOrdinate(int i, int ordinateIndex, double value) voidsetPosList(double[] posList) final intsize()final org.locationtech.jts.geom.Coordinate[]Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.locationtech.jts.geom.CoordinateSequence
createCoordinate, getM, getMeasures, getZ, hasM, hasZ
-
Constructor Details
-
JTSCoordinatesDoubleArray
public JTSCoordinatesDoubleArray(int numDims)
-
-
Method Details
-
setNumDimensions
public void setNumDimensions(int numDims) -
setPosList
public void setPosList(double[] posList) -
getDimension
public int getDimension()- Specified by:
getDimensionin interfaceorg.locationtech.jts.geom.CoordinateSequence
-
getCoordinate
public final org.locationtech.jts.geom.Coordinate getCoordinate(int i) - Specified by:
getCoordinatein interfaceorg.locationtech.jts.geom.CoordinateSequence
-
getCoordinateCopy
public final org.locationtech.jts.geom.Coordinate getCoordinateCopy(int i) - Specified by:
getCoordinateCopyin interfaceorg.locationtech.jts.geom.CoordinateSequence
-
getCoordinate
public final void getCoordinate(int i, org.locationtech.jts.geom.Coordinate coord) - Specified by:
getCoordinatein interfaceorg.locationtech.jts.geom.CoordinateSequence
-
getX
public final double getX(int i) - Specified by:
getXin interfaceorg.locationtech.jts.geom.CoordinateSequence
-
getY
public final double getY(int i) - Specified by:
getYin interfaceorg.locationtech.jts.geom.CoordinateSequence
-
getOrdinate
public final double getOrdinate(int i, int ordinateIndex) - Specified by:
getOrdinatein interfaceorg.locationtech.jts.geom.CoordinateSequence
-
size
public final int size()- Specified by:
sizein interfaceorg.locationtech.jts.geom.CoordinateSequence
-
setOrdinate
public final void setOrdinate(int i, int ordinateIndex, double value) - Specified by:
setOrdinatein interfaceorg.locationtech.jts.geom.CoordinateSequence
-
toCoordinateArray
public final org.locationtech.jts.geom.Coordinate[] toCoordinateArray()- Specified by:
toCoordinateArrayin interfaceorg.locationtech.jts.geom.CoordinateSequence
-
expandEnvelope
public final org.locationtech.jts.geom.Envelope expandEnvelope(org.locationtech.jts.geom.Envelope env) - Specified by:
expandEnvelopein interfaceorg.locationtech.jts.geom.CoordinateSequence
-
clone
-
copy
public org.locationtech.jts.geom.CoordinateSequence copy()- Specified by:
copyin interfaceorg.locationtech.jts.geom.CoordinateSequence
-