public abstract class TrackFilter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.vesalainen.util.logging.JavaLogging |
log |
| Constructor and Description |
|---|
TrackFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
flush() |
void |
input(long time,
float latitude,
float longitude) |
protected void |
open(long time) |
protected abstract void |
output(long time,
float latitude,
float longitude) |
TrackFilter |
setBearingTolerance(double bearingTolerance) |
TrackFilter |
setMaxPassive(long maxPassive) |
TrackFilter |
setMaxSpeed(double maxSpeed) |
TrackFilter |
setMinDistance(double minDistance) |
public TrackFilter setBearingTolerance(double bearingTolerance)
public TrackFilter setMinDistance(double minDistance)
public TrackFilter setMaxSpeed(double maxSpeed)
maxSpeed - Knots. If waypoints distance implies greater speed the waypoint is dropped.public TrackFilter setMaxPassive(long maxPassive)
public void input(long time,
float latitude,
float longitude)
throws IOException
IOExceptionprotected void flush()
protected void open(long time)
throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionprotected abstract void output(long time,
float latitude,
float longitude)
throws IOException
IOExceptionCopyright © 2016. All rights reserved.