org.placelab.client.tracker
Class FixedTwoDPositionEstimate
java.lang.Object
org.placelab.client.tracker.FixedTwoDPositionEstimate
- All Implemented Interfaces:
- Estimate
- public class FixedTwoDPositionEstimate
- extends java.lang.Object
- implements Estimate
An Estimate whose Coordinate is a FixedTwoDCoordinate.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
position
protected FixedTwoDCoordinate position
stdDevFlong
protected long stdDevFlong
- flong representing error in estimate
timestamp
protected long timestamp
- timestamp in millis
FixedTwoDPositionEstimate
public FixedTwoDPositionEstimate()
FixedTwoDPositionEstimate
public FixedTwoDPositionEstimate(FixedTwoDPositionEstimate e)
FixedTwoDPositionEstimate
public FixedTwoDPositionEstimate(long timestamp,
FixedTwoDCoordinate position,
long stdDevFlong)
construct
public void construct(long timestamp,
Coordinate position,
java.lang.String stdDevString)
- Specified by:
construct in interface Estimate
getTimestamp
public long getTimestamp()
- Specified by:
getTimestamp in interface Estimate
- Returns:
- the time when this Estimate was computed
getCoord
public Coordinate getCoord()
- Specified by:
getCoord in interface Estimate
getFlongPosition
public FixedTwoDCoordinate getFlongPosition()
getStdDevFlong
public long getStdDevFlong()
setStdDevFlong
public void setStdDevFlong(long stdDevFlong)
getStdDevAsString
public java.lang.String getStdDevAsString()
- Specified by:
getStdDevAsString in interface Estimate
getStdDevInMeters
public int getStdDevInMeters()
- Specified by:
getStdDevInMeters in interface Estimate
toString
public java.lang.String toString()
intersect
public static FixedTwoDPositionEstimate intersect(FixedTwoDPositionEstimate[] fe)
throws FixedPointLongException
- Throws:
FixedPointLongException