public class RangeReading
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private float |
angle |
private float |
range |
| 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()