sdr 0.21

Uses of Class
net.cscott.sdr.calls.ExactRotation

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.transform This package contains code to parse call lists and transform call abstract syntax in various ways. 
 

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.
 ExactRotation FormationMapper.FormationPiece.r
          The rotation to use for this dancer in the output meta formation (typically this is the rotation of formation f from whatever the 'canonical' orientation is.
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.
 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 with parameters of type ExactRotation
 int ExactRotation.compareTo(ExactRotation r)
          Compare unnormalized rotation amounts.
static Position Position.getGrid(int x, int y, ExactRotation r)
          Returns a position corresponding to the standard square dance grid. 0,0 is the center of the set, and odd coordinates between -3 and 3 correspond to the standard 4x4 grid.
 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.
 

Constructors in net.cscott.sdr.calls with parameters of type ExactRotation
FormationMapper.FormationPiece(Formation f, Dancer d, ExactRotation r)
           
 

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, boolean passRight, boolean forceArc)
          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, boolean passRight, boolean forceArc)
           
 

Uses of ExactRotation in net.cscott.sdr.calls.transform
 

Methods in net.cscott.sdr.calls.transform that return ExactRotation
 ExactRotation CallFileBuilder.rotation(AST _t)
           
 


sdr 0.21

Copyright (c) 2006 C. Scott Ananian