|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.coverage.raster.geom.Grid
public class Grid
This class defines an output grid for a WCS request.
Method Summary | |
---|---|
static Grid |
fromRes(double resx,
double resy,
double resz,
Envelope targetEnvelope)
Create a Gird for the given pixel resolution and output envelope |
static Grid |
fromSize(int width,
int height,
int depth,
Envelope targetEnvelope)
Create a Gird for the given grid size and output envelope |
int |
getDepth()
|
Envelope |
getEnvelope()
|
int |
getHeight()
|
double |
getResolution()
|
int |
getWidth()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static Grid fromSize(int width, int height, int depth, Envelope targetEnvelope)
width
- the width of the grid in pixelheight
- the height of the grid in pixeldepth
- the depth of the grid in pixeltargetEnvelope
- the envelope of the output grid
public static Grid fromRes(double resx, double resy, double resz, Envelope targetEnvelope)
resx
- resolution of a pixel (ie. the width of each grid cell in CRS units)resy
- resolution of a pixel (ie. the height of each grid cell in CRS units)resz
- resolution of a pixel (ie. the depth of each grid cell in CRS units)targetEnvelope
- the envelope of the output grid
public int getWidth()
public int getHeight()
public Envelope getEnvelope()
public double getResolution()
public final int getDepth()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |