sdr 0.3

net.cscott.sdr.calls.transform
Class EvalPrim

java.lang.Object
  extended by net.cscott.sdr.calls.transform.EvalPrim

public abstract class EvalPrim
extends Object

Apply a Prim to a Dancer's Position to yield a DancerPath (which contains a new Position).

Version:
$Id: EvalPrim.java,v 1.1 2007-03-07 22:11:09 cananian Exp $
Author:
C. Scott Ananian

Constructor Summary
EvalPrim()
           
 
Method Summary
static DancerPath apply(Dancer d, Formation f, Prim p)
          "Dance" the given primitive for the given dancer in the given formation to yield a DancerPath for that dancer.
static DancerPath apply(Prim prim, Position from, int formationSize)
          "Dance" the given primitive from the given position (in a formation of the given size) to yield a DancerPath.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvalPrim

public EvalPrim()
Method Detail

apply

public static DancerPath apply(Dancer d,
                               Formation f,
                               Prim p)
"Dance" the given primitive for the given dancer in the given formation to yield a DancerPath for that dancer.


apply

public static DancerPath apply(Prim prim,
                               Position from,
                               int formationSize)
"Dance" the given primitive from the given position (in a formation of the given size) to yield a DancerPath.


sdr 0.3

Copyright © 2006-2009 C. Scott Ananian