public interface IPastTrack
| Modifier and Type | Method and Description |
|---|---|
void |
addPosition(AisVesselPosition vesselPosition,
int minDist)
Add position to past track if it is more than minimum distance from last position
|
void |
cleanup(int ttl)
Remove points in past track older than ttl
|
List<PastTrackPoint> |
getPoints()
Get past track points
|
void addPosition(AisVesselPosition vesselPosition, int minDist)
vesselPosition - the vessel positionminDist - the min distvoid cleanup(int ttl)
ttl - the ttlList<PastTrackPoint> getPoints()
Copyright © 2011–2019 Danish Maritime Authority. All rights reserved.