|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlejos.robotics.RangeReading
public class RangeReading
Represent a single range reading
| Constructor Summary | |
|---|---|
RangeReading(float angle,
float range)
Create the reading |
|
| Method Summary | |
|---|---|
float |
getAngle()
Get the angle of the range reading |
float |
getRange()
Get the range reading |
boolean |
invalidReading()
Test if reading is invalid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RangeReading(float angle,
float range)
angle - the angle relative to the headingrange - the range reading| Method Detail |
|---|
public float getRange()
public float getAngle()
public boolean invalidReading()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||