|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ka2ddo.yaac.gui.rastermap.RasterMapEntry.PinPoint
public static class RasterMapEntry.PinPoint
This class contains one association between a pixel in the image and its latitude/longitude position on the planet.
| Field Summary | |
|---|---|
int |
ix
Raster image pixel X coordinate. |
int |
iy
Raster image pixel Y coordinate. |
double |
mLat
Corresponding latitude in fractional degrees North. |
double |
mLon
Corresponding longitude in fractional degrees East. |
| Constructor Summary | |
|---|---|
RasterMapEntry.PinPoint()
Construct an empty PinPoint. |
|
RasterMapEntry.PinPoint(int ix,
int iy,
double mLat,
double mLon)
Construct a PinPoint with raster image to lat/lon mapping. |
|
| Method Summary | |
|---|---|
void |
read(java.io.DataInput dis)
Load this PinPoint from a binary file. |
java.lang.String |
toString()
Returns a string representation of the object. |
void |
write(java.io.DataOutput dos)
Save this PinPoint to a binary file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int ix
public int iy
public double mLat
public double mLon
| Constructor Detail |
|---|
public RasterMapEntry.PinPoint()
public RasterMapEntry.PinPoint(int ix,
int iy,
double mLat,
double mLon)
ix - raster image pixel X coordinateiy - raster image pixel Y coordinatemLat - corresponding latitude in fractional degrees NorthmLon - corresponding longitude in fractional degrees East| Method Detail |
|---|
public void read(java.io.DataInput dis)
throws java.io.IOException
dis - DataInput to read the PinPoint from
java.io.IOException - if read fails
public void write(java.io.DataOutput dos)
throws java.io.IOException
dos - DataOutput to write the PinPoint to
java.io.IOException - if write failspublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||