public abstract class RasterLayer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
height
Height of this layer in pixels
|
protected Rectangle |
inputMBR
The MBR of the this layer in input coordinates
|
protected int |
width
Width of this layer in pixels
|
| Constructor and Description |
|---|
RasterLayer() |
RasterLayer(Rectangle inputMBR,
int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight() |
Rectangle |
getInputMBR() |
int |
getWidth() |
java.awt.Point |
projectToImageSpace(double x,
double y)
Project a point from input space to image space.
|
void |
readFields(java.io.DataInput in) |
void |
write(java.io.DataOutput out) |
protected Rectangle inputMBR
protected int width
protected int height
public RasterLayer()
public RasterLayer(Rectangle inputMBR, int width, int height)
public void write(java.io.DataOutput out)
throws java.io.IOException
java.io.IOExceptionpublic void readFields(java.io.DataInput in)
throws java.io.IOException
java.io.IOExceptionpublic Rectangle getInputMBR()
public int getWidth()
public int getHeight()
public java.awt.Point projectToImageSpace(double x,
double y)
x - y -