public class RangeReading
extends java.lang.Object
Constructor and Description |
---|
RangeReading(float angle,
float range)
Create the reading
|
Modifier and Type | Method and Description |
---|---|
float |
getAngle()
Get the angle of the range reading
|
float |
getRange()
Get the range reading
|
boolean |
invalidReading()
Test if reading is invalid
|
public RangeReading(float angle, float range)
angle
- the angle relative to the headingrange
- the range readingpublic float getRange()
public float getAngle()
public boolean invalidReading()