public interface LocationFilter extends Configurable
Modifier and Type | Method and Description |
---|---|
void |
add(Point2d location,
long timestamp)
Adds a position to the location filter.
|
Point2d |
get()
Gets the next position from the location filter.
|
String |
getName()
Gets a readable name of the location filter for display reasons.
|
void |
reset()
Resets the filter to initial state.
|
configure, isConfigurable
String getName()
void add(Point2d location, long timestamp)
The position may be null
if the lateration algorithm
couldn't calculate the position.
location
- The position to add.timestamp
- The timestamp of the position in milliseconds
or -1
if no timestamp is available.Point2d get()
void reset()
Copyright © 2012 Thomas Hillebrandt. All Rights Reserved.