org.placelab.client.tracker
Class TwoDPositionEstimate

java.lang.Object
  extended byorg.placelab.client.tracker.TwoDPositionEstimate
All Implemented Interfaces:
Estimate
Direct Known Subclasses:
ParticleTwoDEstimate

public class TwoDPositionEstimate
extends java.lang.Object
implements Estimate

An Estimate whose Coordinate is a TwoDCoordinate


Field Summary
protected  TwoDCoordinate position
           
protected  double stdDev
           
protected  long timestamp
           
 
Constructor Summary
TwoDPositionEstimate()
           
TwoDPositionEstimate(long timestamp, TwoDCoordinate position, double stdDev)
           
TwoDPositionEstimate(TwoDPositionEstimate e)
           
 
Method Summary
 void construct(long timestamp, Coordinate position, java.lang.String stdDevString)
           
 Coordinate getCoord()
           
 double getStdDev()
           
 java.lang.String getStdDevAsString()
           
 int getStdDevInMeters()
           
 long getTimestamp()
           
 TwoDCoordinate getTwoDPosition()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

position

protected TwoDCoordinate position

stdDev

protected double stdDev

timestamp

protected long timestamp
Constructor Detail

TwoDPositionEstimate

public TwoDPositionEstimate()

TwoDPositionEstimate

public TwoDPositionEstimate(TwoDPositionEstimate e)

TwoDPositionEstimate

public TwoDPositionEstimate(long timestamp,
                            TwoDCoordinate position,
                            double stdDev)
Method Detail

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

getTwoDPosition

public TwoDCoordinate getTwoDPosition()

getStdDev

public double getStdDev()

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()