sdr 0.2

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

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, and '1/4' is facing east.
 

Fields in net.cscott.sdr.calls declared as Rotation
 Rotation Position.facing
          Facing direction.
 Rotation DancerPath.rollDir
           
 Rotation DancerPath.sweepDir
           
 

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
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.2

Copyright (c) 2006 C. Scott Ananian