public interface GridExtent extends Extent
Modifier and Type | Method and Description |
---|---|
boolean |
contains(double x,
double y) |
boolean |
equals(GridExtent extent)
Compare a extent with the current GridExtent
|
boolean |
fitsIn(GridExtent extent) |
double |
getCellSize()
Get cell size
|
double |
getCellSizeX() |
double |
getCellSizeY() |
int |
getNX()
Get pixel width
|
int |
getNY()
Get pixel height
|
void |
setCellSize(double cellSize)
Set cell size and recalculate pixel distance in both axis
|
void |
setCellSizeX(double cellSizeX) |
void |
setCellSizeY(double cellSizeY) |
void |
setXRange(double dXMin,
double dXMax) |
void |
setYRange(double dYMin,
double dYMax) |
clone, convert, encloseBoundinBoxes, equals, getCenterX, getCenterY, getGridExtent, getLLX, getLLY, getLR, getLRX, getLRY, getMax, getMin, getScale, getScale, getUL, getULX, getULY, getURX, getURY, height, intersection, intersects, maxX, maxY, minX, minY, rasterToWorld, setLRXToMax, setLRXToMin, setLRYToMax, setLRYToMin, setULXToMax, setULXToMin, setULYToMax, setULYToMin, toRectangle2D, width, worldToRaster
loadFromState, saveToState
void setXRange(double dXMin, double dXMax)
void setYRange(double dYMin, double dYMax)
double getCellSize()
void setCellSize(double cellSize)
cellSize
- cell size in double valueint getNX()
int getNY()
boolean contains(double x, double y)
boolean fitsIn(GridExtent extent)
boolean equals(GridExtent extent)
extent
- extent to comparedouble getCellSizeX()
void setCellSizeX(double cellSizeX)
double getCellSizeY()
void setCellSizeY(double cellSizeY)