|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectmovements.MovementGenerator.FigurePlacement
Defines where a figure is placed on the dance floor.
| Field Summary | |
private Figure |
figure
|
private double |
figureDefinitionOrientation
|
private double |
figureOrientation
|
private MovementGenerator.FigurePlacement |
outerFigurePlacement
|
private Position |
point
|
private double |
scale
|
| Constructor Summary | |
MovementGenerator.FigurePlacement()
The default constructor creates a figure placement such that the co-ordinates used inside the figure are the co-ordinates on the dance floor. |
|
MovementGenerator.FigurePlacement(Figure figure,
Position point1,
double orientation,
MovementGenerator.FigurePlacement outerFigurePlacement)
Constructs a figure placement object where the figure is fixed using a point and an orientation. |
|
MovementGenerator.FigurePlacement(Figure figure,
Position point1,
Position point2,
MovementGenerator.FigurePlacement outerFigurePlacement)
Constructs a figure placement object where the figure is fixed using two points. |
|
| Method Summary | |
(package private) int |
getChirality()
Determine whether the figure is being reflected. |
(package private) double |
GetFloorDirection(double direction)
|
(package private) ParticipantPosition |
getFloorParticipantPosition(double down,
double across,
double direction)
DOCUMENT ME! |
(package private) Position |
GetFloorPosition(double down,
double across)
Given a pair of co-ordinates used inside the figure, return the point using the floor's co-ordinates to which this maps. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private MovementGenerator.FigurePlacement outerFigurePlacement
private Figure figure
private Position point
private double figureDefinitionOrientation
private double figureOrientation
private double scale
| Constructor Detail |
public MovementGenerator.FigurePlacement()
public MovementGenerator.FigurePlacement(Figure figure,
Position point1,
Position point2,
MovementGenerator.FigurePlacement outerFigurePlacement)
figure - DOCUMENT ME!point1 - The position, in the co-ordinate system of the outer
figure, of the first fix point. This object must not be modified
by the caller after it has been passed to this constructor.point2 - The position, in the co-ordinate system of the outer
figure, of the second fix point. This object must not be modified
by the caller after it has been passed to this constructor.outerFigurePlacement - DOCUMENT ME!
public MovementGenerator.FigurePlacement(Figure figure,
Position point1,
double orientation,
MovementGenerator.FigurePlacement outerFigurePlacement)
figure - DOCUMENT ME!point1 - The position, in the co-ordinate system of the outer
figure, of the fix point. This object must not be modified
by the caller after it has been passed to this constructor.orientation - The direction, in the co-ordinate system of the
outer figure, of the orientation reference line.outerFigurePlacement - DOCUMENT ME!| Method Detail |
Position GetFloorPosition(double down,
double across)
down - DOCUMENT ME!across - DOCUMENT ME!
double GetFloorDirection(double direction)
ParticipantPosition getFloorParticipantPosition(double down,
double across,
double direction)
down - DOCUMENT ME!across - DOCUMENT ME!direction - DOCUMENT ME!
int getChirality()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||