|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcourselog.gpsutils.GeoPoint
courselog.gpsutils.MeasuredPoint
courselog.gpsutils.TrackPoint
public class TrackPoint
A location point obtained from the log of a track. Carries additional fields that MeasuredPoint s does not have.
| Field Summary | |
|---|---|
double |
avgHeading
Average heading (°). |
double |
avgSpeed
Average speed (km/h). |
double |
downwardsHere
Total downwards displacement (m). |
double |
durationHere
Duration of the track at this point (s). |
double |
lengthHere
Length of the track at this point (m). |
double |
upwardsHere
Total upwards displacement (m). |
| Fields inherited from class courselog.gpsutils.MeasuredPoint |
|---|
altGeoid, date, hDOP, heading, isDifferential, measureTime, satsInSolution, speed, time, vDOP |
| Fields inherited from class courselog.gpsutils.GeoPoint |
|---|
altSeaLevel, dummyAng, dummyCoord, ER, lat, lon, myX, myY, myZ, uTMEasting, uTMLatZone, uTMLonZone, uTMNorthing |
| Constructor Summary | |
|---|---|
TrackPoint()
Creates a new instance of TrackPoint |
|
| Method Summary | |
|---|---|
void |
copyFrom(java.lang.Object param)
Copy all elements of point param into this instance. |
int |
formatInBuffer(byte[] buff)
Formats this track point in a buffer so that it can be written to the log. |
boolean |
readFromLogLine(java.lang.String logLine)
Fill in attributes of this point from a string generated by the PositionTracer log function. |
| Methods inherited from class courselog.gpsutils.MeasuredPoint |
|---|
computeTime, formatHeading, formatSpeed, getCopy, initialise, timeTo |
| Methods inherited from class courselog.gpsutils.GeoPoint |
|---|
computeCartesian, computeLatLonAlt, computeLatLonToUTMRef, computeUTMtoLatLng, coordinatesIn, ddmmssLat, ddmmssLon, directionTo, distance, formatAlt, getLat, getLon, getUTMLatitudeZoneLetter, headingTo, moveBy, toLatLonString, toString, toUTMString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public double avgSpeed
public double avgHeading
public double lengthHere
public double durationHere
public double upwardsHere
public double downwardsHere
| Constructor Detail |
|---|
public TrackPoint()
| Method Detail |
|---|
public int formatInBuffer(byte[] buff)
formatInBuffer in class GeoPointbuff - buffer to write in.
public boolean readFromLogLine(java.lang.String logLine)
readFromLogLine in class GeoPointlogLine - Input string to interpret.
public void copyFrom(java.lang.Object param)
MeasuredPoint
copyFrom in class MeasuredPointparam - Point to copy from.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||