sdr 0.7

net.cscott.sdr.calls
Enum DancerPath.PointOfRotation

java.lang.Object
  extended by java.lang.Enum<DancerPath.PointOfRotation>
      extended by net.cscott.sdr.calls.DancerPath.PointOfRotation
All Implemented Interfaces:
Serializable, Comparable<DancerPath.PointOfRotation>
Enclosing class:
DancerPath

public static enum DancerPath.PointOfRotation
extends Enum<DancerPath.PointOfRotation>

In order to have a method of discussing the various motions encountered in square dance choreography, Lynette Bellini identified several points of rotation:

A single dancer:
the point of rotation is about the center of a single dancer, as in the call roll.
Two dancers:
the point of rotation is about a point between two dancers.
Four dancers:
the point of rotation is about a point in the center of four dancers.
Center of the square:
the point of rotation is about the center point of the square.
There are multiple ways to pair dancers; swing and slip are both examples of the two dancer point of rotation, but they are different. The same thing applies for the four dancer situations: from parallel ocean waves, lockit and split counter rotate operate around different points, but they are each four dancers large.

(From Lynette Bellini's Rules of Flow.)


Enum Constant Summary
FOUR_DANCERS
          The point of rotation is about a point in the center of four dancers.
SINGLE_DANCER
          The point of rotation is about the center of a single dancer, as in the call roll.
SQUARE_CENTER
          The point of rotation is about the center point of the square.
TWO_DANCERS
          The point of rotation is about a point between two dancers.
 
Method Summary
static DancerPath.PointOfRotation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DancerPath.PointOfRotation[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SINGLE_DANCER

public static final DancerPath.PointOfRotation SINGLE_DANCER
The point of rotation is about the center of a single dancer, as in the call roll.


TWO_DANCERS

public static final DancerPath.PointOfRotation TWO_DANCERS
The point of rotation is about a point between two dancers.


FOUR_DANCERS

public static final DancerPath.PointOfRotation FOUR_DANCERS
The point of rotation is about a point in the center of four dancers.


SQUARE_CENTER

public static final DancerPath.PointOfRotation SQUARE_CENTER
The point of rotation is about the center point of the square.

Method Detail

values

public static DancerPath.PointOfRotation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DancerPath.PointOfRotation c : DancerPath.PointOfRotation.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DancerPath.PointOfRotation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

sdr 0.7

Copyright © 2006-2009 C. Scott Ananian