|
sdr 0.7 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ExactRotation | |
---|---|
net.cscott.sdr.calls | This package contains the square dance choreography engine, and the basic types and interfaces required to communicate with it. |
net.cscott.sdr.calls.ast | This package contains the abstract syntax used for call definition and evaluation. |
net.cscott.sdr.calls.parser | ANTLRv3 grammars for parsing call definition files and AST representations. |
Uses of ExactRotation in net.cscott.sdr.calls |
---|
Fields in net.cscott.sdr.calls declared as ExactRotation | |
---|---|
static ExactRotation |
ExactRotation.EAST
Common absolute rotations. |
static ExactRotation |
ExactRotation.FIVE_EIGHTHS
Common rotations. |
static ExactRotation |
ExactRotation.mONE_QUARTER
Common rotations. |
static ExactRotation |
ExactRotation.NORTH
Common absolute rotations. |
static ExactRotation |
ExactRotation.ONE
Common rotations. |
static ExactRotation |
ExactRotation.ONE_EIGHTH
Common rotations. |
static ExactRotation |
ExactRotation.ONE_HALF
Common rotations. |
static ExactRotation |
ExactRotation.ONE_QUARTER
Common rotations. |
static ExactRotation |
ExactRotation.SEVEN_EIGHTHS
Common rotations. |
static ExactRotation |
ExactRotation.SOUTH
Common absolute rotations. |
static ExactRotation |
ExactRotation.THREE_EIGHTHS
Common rotations. |
static ExactRotation |
ExactRotation.THREE_QUARTERS
Common rotations. |
static ExactRotation |
ExactRotation.WEST
Common absolute rotations. |
static ExactRotation |
ExactRotation.ZERO
Common rotations. |
Methods in net.cscott.sdr.calls that return ExactRotation | |
---|---|
ExactRotation |
ExactRotation.add(Fraction f)
Add the given amount to this rotation direction. |
static ExactRotation |
ExactRotation.fromAbsoluteString(String s)
Converts a string (one of n/s/e/w, ne/nw/se/sw) to the appropriate rotation object. |
static ExactRotation |
ExactRotation.fromRelativeString(String s)
Returns a ExactRotation corresponding to one of the strings "right", "left", or "none". |
static ExactRotation |
ExactRotation.fromXY(Fraction x,
Fraction y)
Convert an x/y displacement to a rotation, using our 'squared off' circle. |
static ExactRotation |
DancerPath.midPoint(ExactRotation a,
ExactRotation b)
Compute midpoint between given exact rotations, in minimum sweep direction. |
ExactRotation |
ExactRotation.negate()
Negate this rotation (mirror image). |
ExactRotation |
ExactRotation.normalize()
Normalize rotation to the range [0, 1). |
ExactRotation |
ExactRotation.subtract(Fraction f)
Subtract the given amount from this rotation direction. |
Methods in net.cscott.sdr.calls that return types with arguments of type ExactRotation | |
---|---|
Collection<ExactRotation> |
Rotation.included()
Returns an Iterator over the ExactRotation s included
in this Rotation . |
Methods in net.cscott.sdr.calls with parameters of type ExactRotation | |
---|---|
int |
ExactRotation.compareTo(ExactRotation r)
Compare unnormalized rotation amounts. |
static ExactRotation |
DancerPath.midPoint(ExactRotation a,
ExactRotation b)
Compute midpoint between given exact rotations, in minimum sweep direction. |
Fraction |
ExactRotation.minSweep(ExactRotation er)
Compute the minimum angle (in absolute value) between this
heading and the given heading er . |
Formation |
Formation.rotate(ExactRotation rotation)
Build a new formation, like this one except rotated around 0,0. |
Position |
Position.rotateAroundOrigin(ExactRotation rot)
Rotate this position around the origin by the given amount, preserving any Position.Flag s. |
Constructors in net.cscott.sdr.calls with parameters of type ExactRotation | |
---|---|
Breather.FormationPiece(Formation input,
Formation output,
ExactRotation r)
Prepare an argument to the Breather.breathe(net.cscott.sdr.calls.Formation) method. |
Uses of ExactRotation in net.cscott.sdr.calls.ast |
---|
Fields in net.cscott.sdr.calls.ast declared as ExactRotation | |
---|---|
ExactRotation |
Prim.rot
Amount of rotation. |
Methods in net.cscott.sdr.calls.ast with parameters of type ExactRotation | |
---|---|
Prim |
Prim.build(Prim.Direction dirX,
Fraction x,
Prim.Direction dirY,
Fraction y,
Prim.Direction dirRot,
ExactRotation rot,
Fraction time,
Prim.Flag... flags)
Factory: creates new Prim only if it would differ from this. |
Constructors in net.cscott.sdr.calls.ast with parameters of type ExactRotation | |
---|---|
Prim(Prim.Direction dirX,
Fraction x,
Prim.Direction dirY,
Fraction y,
Prim.Direction dirRot,
ExactRotation rot,
Fraction time,
Prim.Flag... flags)
|
Uses of ExactRotation in net.cscott.sdr.calls.parser |
---|
Fields in net.cscott.sdr.calls.parser declared as ExactRotation | |
---|---|
ExactRotation |
AstParser.in_out_dir_return.rot
|
|
sdr 0.7 | |||||||||
PREV NEXT | FRAMES NO FRAMES |