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.
|
org.locationtech.jts.geom.Coordinate |
getCellSize() |
org.locationtech.jts.geom.Coordinate |
getCenter() |
org.locationtech.jts.geom.Coordinate |
getCoordinates(ZSampleGrid.ZSamplePoint<TZ> point) |
int[] |
getLowerLeftIndex(org.locationtech.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
- org.locationtech.jts.geom.Coordinate getCoordinates(ZSampleGrid.ZSamplePoint<TZ> point)
point
- The sample pointint[] getLowerLeftIndex(org.locationtech.jts.geom.Coordinate C)
C
- The geographical coordinateorg.locationtech.jts.geom.Coordinate getCenter()
org.locationtech.jts.geom.Coordinate getCellSize()
int getXMin()
int getXMax()
int getYMin()
int getYMax()
int size()
DelaunayTriangulation<TZ> delaunayTriangulate()
Copyright © 2019. All rights reserved.