|
sdr 0.3 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Rotation | |
---|---|
net.cscott.sdr.calls | This package contains the square dance choreography engine, and the basic types and interfaces required to communicate with it. |
Uses of Rotation in net.cscott.sdr.calls |
---|
Subclasses of Rotation in net.cscott.sdr.calls | |
---|---|
class |
ExactRotation
Rotations are represented as fractions, where '0' is facing north (away from the caller), and '1/4' is facing east. |
Fields in net.cscott.sdr.calls declared as Rotation | |
---|---|
Rotation |
Position.facing
Facing direction. |
Rotation |
DancerPath.rollDir
The rollDir and sweepDir may be zero. |
Rotation |
DancerPath.sweepDir
The rollDir and sweepDir may be zero. |
Methods in net.cscott.sdr.calls that return Rotation | |
---|---|
Rotation |
Rotation.add(Fraction f)
Add the given amount to this rotation direction. |
static Rotation |
Rotation.create(Fraction amount,
Fraction modulo)
|
static Rotation |
Rotation.fromAbsoluteString(String s)
Converts a string (one of n/s/e/w, ne/nw/se/sw) to the appropriate rotation object. |
Rotation |
Rotation.negate()
Negate this rotation (mirror image). |
Rotation |
Rotation.normalize()
Normalize rotation to the range 0-modulus. |
Rotation |
Rotation.subtract(Fraction f)
Subtract the given amount from this rotation direction. |
Methods in net.cscott.sdr.calls with parameters of type Rotation | |
---|---|
boolean |
Rotation.includes(Rotation r)
Returns true iff all the rotations possible with the given r
are included within the set of rotations possible with this . |
Constructors in net.cscott.sdr.calls with parameters of type Rotation | |
---|---|
DancerPath(Position from,
Position to,
Point arcCenter,
Fraction time,
DancerPath.PointOfRotation pointOfRotation,
Rotation rollDir,
Rotation sweepDir)
Create an immutable DancerPath object. |
|
Position(Fraction x,
Fraction y,
Rotation facing)
Create a Position object from the given x and y coordinates and Rotation . |
|
Position(int x,
int y,
Rotation facing)
Create a Position object with integer-valued x and y coordinates. |
|
sdr 0.3 | |||||||||
PREV NEXT | FRAMES NO FRAMES |