public class IntPackedCoordinateSequence extends Object implements com.vividsolutions.jts.geom.CoordinateSequence, Cloneable, Serializable
Constructor and Description |
---|
IntPackedCoordinateSequence(com.vividsolutions.jts.geom.Coordinate[] coordinates) |
Modifier and Type | Method and Description |
---|---|
IntPackedCoordinateSequence |
clone() |
com.vividsolutions.jts.geom.Envelope |
expandEnvelope(com.vividsolutions.jts.geom.Envelope env) |
com.vividsolutions.jts.geom.Coordinate |
getCoordinate(int i) |
void |
getCoordinate(int index,
com.vividsolutions.jts.geom.Coordinate coord) |
com.vividsolutions.jts.geom.Coordinate |
getCoordinateCopy(int i) |
int |
getDimension() |
double |
getOrdinate(int index,
int ordinateIndex) |
double |
getX(int index) |
double |
getY(int index) |
void |
setOrdinate(int index,
int ordinateIndex,
double value) |
int |
size() |
com.vividsolutions.jts.geom.Coordinate[] |
toCoordinateArray() |
public IntPackedCoordinateSequence(com.vividsolutions.jts.geom.Coordinate[] coordinates)
public int getDimension()
getDimension
in interface com.vividsolutions.jts.geom.CoordinateSequence
public com.vividsolutions.jts.geom.Coordinate getCoordinate(int i)
getCoordinate
in interface com.vividsolutions.jts.geom.CoordinateSequence
public com.vividsolutions.jts.geom.Coordinate getCoordinateCopy(int i)
getCoordinateCopy
in interface com.vividsolutions.jts.geom.CoordinateSequence
public void getCoordinate(int index, com.vividsolutions.jts.geom.Coordinate coord)
getCoordinate
in interface com.vividsolutions.jts.geom.CoordinateSequence
public double getX(int index)
getX
in interface com.vividsolutions.jts.geom.CoordinateSequence
public double getY(int index)
getY
in interface com.vividsolutions.jts.geom.CoordinateSequence
public double getOrdinate(int index, int ordinateIndex)
getOrdinate
in interface com.vividsolutions.jts.geom.CoordinateSequence
public int size()
size
in interface com.vividsolutions.jts.geom.CoordinateSequence
public void setOrdinate(int index, int ordinateIndex, double value)
setOrdinate
in interface com.vividsolutions.jts.geom.CoordinateSequence
public com.vividsolutions.jts.geom.Coordinate[] toCoordinateArray()
toCoordinateArray
in interface com.vividsolutions.jts.geom.CoordinateSequence
public com.vividsolutions.jts.geom.Envelope expandEnvelope(com.vividsolutions.jts.geom.Envelope env)
expandEnvelope
in interface com.vividsolutions.jts.geom.CoordinateSequence
public IntPackedCoordinateSequence clone()
Copyright © 2018. All rights reserved.