public interface ZSampleGrid<TZ> extends Iterable<ZSampleGrid.ZSamplePoint<TZ>>
lon = lon0 + x.dLon;
lat = lat0 + y.dLat;
(lat0,lon0) is the center, (dLat,dLon) is the cell size.Modifier and Type | Interface and Description |
---|---|
static interface |
ZSampleGrid.ZSamplePoint<TZ> |
Modifier and Type | Method and Description |
---|---|
DelaunayTriangulation<TZ> |
delaunayTriangulate()
TODO The mapping between a ZSampleGrid and a DelaunayTriangulation should not be part of an
interface but extracted to a converter.
|
com.vividsolutions.jts.geom.Coordinate |
getCellSize() |
com.vividsolutions.jts.geom.Coordinate |
getCenter() |
com.vividsolutions.jts.geom.Coordinate |
getCoordinates(ZSampleGrid.ZSamplePoint<TZ> point) |
int[] |
getLowerLeftIndex(com.vividsolutions.jts.geom.Coordinate C) |
ZSampleGrid.ZSamplePoint<TZ> |
getOrCreate(int x,
int y) |
int |
getXMax() |
int |
getXMin() |
int |
getYMax() |
int |
getYMin() |
int |
size() |
forEach, iterator, spliterator
ZSampleGrid.ZSamplePoint<TZ> getOrCreate(int x, int y)
x
- y
- com.vividsolutions.jts.geom.Coordinate getCoordinates(ZSampleGrid.ZSamplePoint<TZ> point)
point
- The sample pointint[] getLowerLeftIndex(com.vividsolutions.jts.geom.Coordinate C)
C
- The geographical coordinatecom.vividsolutions.jts.geom.Coordinate getCenter()
com.vividsolutions.jts.geom.Coordinate getCellSize()
int getXMin()
int getXMax()
int getYMin()
int getYMax()
int size()
DelaunayTriangulation<TZ> delaunayTriangulate()
Copyright © 2018. All rights reserved.