|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uwcse.location.core.Measurement
|
+--uwcse.location.core.MapMeasurement
The MapMeasurement class captures a sensor measurement reporting the full x,y,z placement of an object.
| Nested Class Summary |
| Nested classes inherited from class uwcse.location.core.Measurement |
Measurement.TimestampComparator |
| Field Summary | |
protected Point3d |
m_position
|
| Fields inherited from class uwcse.location.core.Measurement |
m_objectName, m_sensorName, m_timestamp |
| Constructor Summary | |
MapMeasurement()
Create a map measurement at default point (0,0,0). |
|
MapMeasurement(String objectName,
String sensorName,
Tuple3d position)
Creates a map measurement. |
|
MapMeasurement(MapMeasurement mm)
Creates a map measurement as a copy of the given one. |
|
| Method Summary | |
Object |
clone()
Create a deep copy of this MapMeasurement. |
boolean |
equals(Object o)
Test this object for semantic equality with another MapMeasurement. |
Point3d |
getPosition()
Get the (x,y,z) position represented by this map measurement. |
void |
setPosition(Point3d position)
Set the (x,y,z) position represented by this map measurement. |
String |
toString()
Return a string representation of this MapMeasurement. |
| Methods inherited from class uwcse.location.core.Measurement |
getObjectName, getSensorName, getTimestamp, hashCode, setObjectName, setSensorName, setTimestamp |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected Point3d m_position
| Constructor Detail |
public MapMeasurement()
public MapMeasurement(MapMeasurement mm)
public MapMeasurement(String objectName,
String sensorName,
Tuple3d position)
| Method Detail |
public boolean equals(Object o)
equals in class Measurementpublic Object clone()
clone in class Measurementpublic String toString()
toString in class Measurementpublic Point3d getPosition()
public void setPosition(Point3d position)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||