|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--simulator.BarState
Contains information about the position of a bar
Field Summary | |
Position |
massCenter
The x,y position of the center of mass of bar |
double |
xAngle
The orientation angle from x axle |
Constructor Summary | |
BarState(BarState b)
Initialize position of bar |
|
BarState(Position p,
double a)
Initialize position of bar |
Methods inherited from class java.lang.Object |
|
Field Detail |
public Position massCenter
public double xAngle
Constructor Detail |
public BarState(Position p, double a)
p
- the x,y position of mass centera
- the rotation angle from x axlepublic BarState(BarState b)
b
- the BarState
where copy information
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |