public static class RasterMapEntry.PinPoint
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
PinPoint()
Construct an empty PinPoint.
|
PinPoint(int ix,
int iy,
double mLat,
double mLon)
Construct a PinPoint with raster image to lat/lon mapping.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public int ix
public int iy
public double mLat
public double mLon
public PinPoint()
public 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 Eastpublic void read(java.io.DataInput dis)
throws java.io.IOException
dis - DataInput to read the PinPoint fromjava.io.IOException - if read failspublic void write(java.io.DataOutput dos)
throws java.io.IOException
dos - DataOutput to write the PinPoint tojava.io.IOException - if write failspublic java.lang.String toString()
toString in class java.lang.Object