|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object courselog.gpsutils.GeoPoint courselog.maputils.MapReferencePoint
public class MapReferencePoint
Field Summary | |
---|---|
static java.lang.String |
CSVLINECODE
Code to read a MapReferencePoint CSV line. |
int |
iX
Coordinates in the bitmap of the reference point. |
int |
iY
|
Fields inherited from class courselog.gpsutils.GeoPoint |
---|
altSeaLevel, dummyAng, dummyCoord, ER, lat, lon, myX, myY, myZ, uTMEasting, uTMLatZone, uTMLonZone, uTMNorthing |
Constructor Summary | |
---|---|
MapReferencePoint()
Creates a new instance of MapReferencePoint |
Method Summary | |
---|---|
void |
copyFrom(java.lang.Object param)
Copy of param reference point into this. |
int |
formatInBuffer(byte[] buff)
Formats this map reference point in a buffer so that it can be written to the reference file. |
java.lang.Object |
getCopy()
Create a new copy of this reference point. |
void |
initialise()
Initialise the Reference point with (-1,-1) coordinates e.g. |
boolean |
readFromCsvLine(java.lang.String l)
Read a line of CSV values into a MapReferencePoint. |
Methods inherited from class courselog.gpsutils.GeoPoint |
---|
computeCartesian, computeLatLonAlt, computeLatLonToUTMRef, computeUTMtoLatLng, coordinatesIn, ddmmssLat, ddmmssLon, directionTo, distance, formatAlt, getLat, getLon, getUTMLatitudeZoneLetter, headingTo, moveBy, readFromLogLine, toLatLonString, toString, toUTMString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CSVLINECODE
public int iX
public int iY
Constructor Detail |
---|
public MapReferencePoint()
Method Detail |
---|
public void initialise()
initialise
in class GeoPoint
public void copyFrom(java.lang.Object param)
copyFrom
in class GeoPoint
param
- Object to copy from, if not a MapReferencePoint, no copy.public java.lang.Object getCopy()
getCopy
in interface ewe.util.Copyable
getCopy
in class GeoPoint
Copyable.getCopy()
public boolean readFromCsvLine(java.lang.String l)
public int formatInBuffer(byte[] buff)
formatInBuffer
in class GeoPoint
buff
- buffer to write in.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |