|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.geom.Point2D java.awt.geom.Point2D.Float lejos.geom.Point lejos.robotics.proposal.WayPoint
public class WayPoint
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.geom.Point2D |
---|
Point2D.Double, Point2D.Float |
Field Summary | |
---|---|
protected float |
heading
|
protected boolean |
headingRequired
|
protected float |
maxHeadingError
|
protected float |
maxPositionError
|
Fields inherited from class java.awt.geom.Point2D.Float |
---|
x, y |
Constructor Summary | |
---|---|
WayPoint(float x,
float y)
|
|
WayPoint(Point p)
|
|
WayPoint(Pose p)
|
Method Summary | |
---|---|
boolean |
checkValidity(Pose p)
Check that the given pose satisfies the conditions for this way point |
float |
getHeading()
|
float |
getMaxHeadingError()
|
float |
getMaxPositionError()
|
Pose |
getPose()
|
void |
setMaxHeadingError(float distance)
|
void |
setMaxPositionError(float distance)
|
Methods inherited from class java.awt.geom.Point2D.Float |
---|
getX, getY, setLocation, setLocation, toString |
Methods inherited from class java.awt.geom.Point2D |
---|
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, equals, setLocation |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected float heading
protected boolean headingRequired
protected float maxPositionError
protected float maxHeadingError
Constructor Detail |
---|
public WayPoint(float x, float y)
public WayPoint(Point p)
public WayPoint(Pose p)
Method Detail |
---|
public float getHeading()
public float getMaxPositionError()
public void setMaxPositionError(float distance)
public float getMaxHeadingError()
public void setMaxHeadingError(float distance)
public Pose getPose()
public boolean checkValidity(Pose p)
p
- the Pose
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |