public class PastTrackPoint extends Object implements Serializable, Comparable<PastTrackPoint>
| Constructor and Description |
|---|
PastTrackPoint(AisVesselPosition vesselPosition)
Instantiates a new Past track point.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PastTrackPoint p2) |
boolean |
equals(Object p2) |
double |
getCog()
Gets cog.
|
Date |
getDate()
Gets date.
|
double |
getLat()
Gets lat.
|
double |
getLon()
Gets lon.
|
double |
getSog()
Gets sog.
|
long |
getTime()
Gets time.
|
int |
hashCode() |
boolean |
isDead(int ttl)
Is dead boolean.
|
String |
toString() |
public PastTrackPoint(AisVesselPosition vesselPosition)
vesselPosition - the vessel positionpublic boolean isDead(int ttl)
ttl - the ttlpublic double getLat()
public double getLon()
public double getCog()
public double getSog()
public long getTime()
public Date getDate()
public int compareTo(PastTrackPoint p2)
compareTo in interface Comparable<PastTrackPoint>Copyright © 2011–2019 Danish Maritime Authority. All rights reserved.