Constructor and Description |
---|
CoordinateArrayListSequence() |
CoordinateArrayListSequence(ArrayList<org.locationtech.jts.geom.Coordinate> coordinates) |
Modifier and Type | Method and Description |
---|---|
void |
add(org.locationtech.jts.geom.Coordinate newCoordinate) |
void |
clear() |
CoordinateArrayListSequence |
clone() |
org.locationtech.jts.geom.CoordinateSequence |
copy() |
org.locationtech.jts.geom.Envelope |
expandEnvelope(org.locationtech.jts.geom.Envelope env) |
void |
extend(org.locationtech.jts.geom.Coordinate[] newCoordinates) |
void |
extend(org.locationtech.jts.geom.Coordinate[] newCoordinates,
int start) |
void |
extend(org.locationtech.jts.geom.Coordinate[] newCoordinates,
int start,
int end) |
org.locationtech.jts.geom.Coordinate |
getCoordinate(int i) |
void |
getCoordinate(int index,
org.locationtech.jts.geom.Coordinate coord) |
org.locationtech.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() |
org.locationtech.jts.geom.Coordinate[] |
toCoordinateArray() |
public CoordinateArrayListSequence()
public CoordinateArrayListSequence(ArrayList<org.locationtech.jts.geom.Coordinate> coordinates)
public org.locationtech.jts.geom.Envelope expandEnvelope(org.locationtech.jts.geom.Envelope env)
expandEnvelope
in interface org.locationtech.jts.geom.CoordinateSequence
public CoordinateArrayListSequence clone()
public org.locationtech.jts.geom.Coordinate getCoordinate(int i)
getCoordinate
in interface org.locationtech.jts.geom.CoordinateSequence
public void getCoordinate(int index, org.locationtech.jts.geom.Coordinate coord)
getCoordinate
in interface org.locationtech.jts.geom.CoordinateSequence
public org.locationtech.jts.geom.Coordinate getCoordinateCopy(int i)
getCoordinateCopy
in interface org.locationtech.jts.geom.CoordinateSequence
public int getDimension()
getDimension
in interface org.locationtech.jts.geom.CoordinateSequence
public double getOrdinate(int index, int ordinateIndex)
getOrdinate
in interface org.locationtech.jts.geom.CoordinateSequence
public double getX(int index)
getX
in interface org.locationtech.jts.geom.CoordinateSequence
public double getY(int index)
getY
in interface org.locationtech.jts.geom.CoordinateSequence
public void setOrdinate(int index, int ordinateIndex, double value)
setOrdinate
in interface org.locationtech.jts.geom.CoordinateSequence
public int size()
size
in interface org.locationtech.jts.geom.CoordinateSequence
public org.locationtech.jts.geom.Coordinate[] toCoordinateArray()
toCoordinateArray
in interface org.locationtech.jts.geom.CoordinateSequence
public void extend(org.locationtech.jts.geom.Coordinate[] newCoordinates)
public void extend(org.locationtech.jts.geom.Coordinate[] newCoordinates, int start)
public void extend(org.locationtech.jts.geom.Coordinate[] newCoordinates, int start, int end)
public void add(org.locationtech.jts.geom.Coordinate newCoordinate)
public void clear()
public org.locationtech.jts.geom.CoordinateSequence copy()
copy
in interface org.locationtech.jts.geom.CoordinateSequence
Copyright © 2019. All rights reserved.