|
dLife Home Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdlife.robot.player.StagePositionData
public class StagePositionData
A simple object to hold position data returned from a Stage simulation. X and Y data are in meters relative to the center. Theta should be in degrees.
| Constructor Summary | |
|---|---|
StagePositionData(double x,
double y,
double theta)
Create a StagePositionData with the given x, y, and theta values. |
|
| Method Summary | |
|---|---|
double |
getTheta()
Get the angle in degrees. |
double |
getX()
Get the position in the x direction in meters. |
double |
getY()
Get the position in the y direction in meters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StagePositionData(double x,
double y,
double theta)
x - the position in the x direction in metersy - the position in the y direction in meterstheta - the angle in degrees| Method Detail |
|---|
public double getX()
public double getY()
public double getTheta()
|
dLife Home Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||