org.starhope.appius.physica
Class TriangulationAlgorithm

java.lang.Object
  extended by org.starhope.appius.physica.TriangulationAlgorithm
Direct Known Subclasses:
CubicAlgorithm, QuadraticAlgorithm, QuarticAlgorithm

abstract class TriangulationAlgorithm
extends Object

TriangulationAlgorithm class. Absract. Superclass for actual algorithms. Has several abstract function members - including the triangulation member which actually computes the triangulation.


Field Summary
(package private)  String algName
          WRITEME: Document this brpocock@star-hope.org
(package private) static int edgeState
          WRITEME: Document this brpocock@star-hope.org
(package private) static int insideState
          WRITEME: Document this brpocock@star-hope.org
(package private)  int nStates
          WRITEME: Document this brpocock@star-hope.org
(package private) static int pointState
          WRITEME: Document this brpocock@star-hope.org
(package private)  boolean[] state
          WRITEME: Document this brpocock@star-hope.org
(package private) static int triangleState
          WRITEME: Document this brpocock@star-hope.org
(package private) static int triangulationState
          WRITEME: Document this brpocock@star-hope.org
 
Constructor Summary
TriangulationAlgorithm(Triangulation t, String name, int nPoints)
          WRITEME: Document this constructor brpocock@star-hope.org
 
Method Summary
 void nextStep()
          WRITEME: Document this method brpocock@star-hope.org
 void reset()
          WRITEME: Document this method brpocock@star-hope.org
 void setAlgorithmState(int stateVar, boolean value)
          WRITEME: Document this method brpocock@star-hope.org
abstract  void triangulate(Triangulation t)
          WRITEME: Document this method brpocock@star-hope.org
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

edgeState

static final int edgeState
WRITEME: Document this brpocock@star-hope.org

See Also:
Constant Field Values

insideState

static final int insideState
WRITEME: Document this brpocock@star-hope.org

See Also:
Constant Field Values

pointState

static final int pointState
WRITEME: Document this brpocock@star-hope.org

See Also:
Constant Field Values

triangleState

static final int triangleState
WRITEME: Document this brpocock@star-hope.org

See Also:
Constant Field Values

triangulationState

static final int triangulationState
WRITEME: Document this brpocock@star-hope.org

See Also:
Constant Field Values

algName

final String algName
WRITEME: Document this brpocock@star-hope.org


nStates

final int nStates
WRITEME: Document this brpocock@star-hope.org

See Also:
Constant Field Values

state

boolean[] state
WRITEME: Document this brpocock@star-hope.org

Constructor Detail

TriangulationAlgorithm

public TriangulationAlgorithm(Triangulation t,
                              String name,
                              int nPoints)
WRITEME: Document this constructor brpocock@star-hope.org

Parameters:
t - WRITEME
name - WRITEME
nPoints - WRITEME
Method Detail

nextStep

public void nextStep()
WRITEME: Document this method brpocock@star-hope.org


reset

public void reset()
WRITEME: Document this method brpocock@star-hope.org


setAlgorithmState

public void setAlgorithmState(int stateVar,
                              boolean value)
WRITEME: Document this method brpocock@star-hope.org

Parameters:
stateVar - WRITEME
value - WRITEME

triangulate

public abstract void triangulate(Triangulation t)
WRITEME: Document this method brpocock@star-hope.org

Parameters:
t - WRITEME