|
|||||||||||
| 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.PlanarSweepMeasurement
The PlanarSweepMeasurement Class contains the measurements from one planar sweep of a sensor.
| Nested Class Summary |
| Nested classes inherited from class uwcse.location.core.Measurement |
Measurement.TimestampComparator |
| Field Summary | |
protected double |
m_degRes
|
protected int[] |
m_sweep
|
| Fields inherited from class uwcse.location.core.Measurement |
m_objectName, m_sensorName, m_timestamp |
| Constructor Summary | |
PlanarSweepMeasurement()
Create an empty planar sweep measurement. |
|
PlanarSweepMeasurement(String objectName,
String sensorName,
int[] sweep,
double degreeResolution)
Create a linear distance measurement in meters. |
|
PlanarSweepMeasurement(PlanarSweepMeasurement psm)
Creates a linear distance measurement as a copy of the given one. |
|
| Method Summary | |
Object |
clone()
Create a deep copy of this PlanarSweepMeasurement. |
boolean |
equals(Object o)
Test this object for semantic equality with another PlanarSweepMeasurement. |
double |
getDegreeResolution()
Get the angular resolution between beams of the sweep. |
int[] |
getSweep()
Get the distance array (values in millimeters) represented by this sweep measurement. |
int |
hashCode()
Overridden to maintain hash contract that equal objects return the same hash code. |
String |
toString()
Return a string representation of this PlanarSweepMeasurement. |
| Methods inherited from class uwcse.location.core.Measurement |
getObjectName, getSensorName, getTimestamp, setObjectName, setSensorName, setTimestamp |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected int[] m_sweep
protected double m_degRes
| Constructor Detail |
public PlanarSweepMeasurement()
public PlanarSweepMeasurement(PlanarSweepMeasurement psm)
public PlanarSweepMeasurement(String objectName,
String sensorName,
int[] sweep,
double degreeResolution)
| Method Detail |
public boolean equals(Object o)
equals in class Measurementpublic int hashCode()
hashCode in class Measurementpublic Object clone()
clone in class Measurementpublic String toString()
toString in class Measurementpublic int[] getSweep()
public double getDegreeResolution()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||