|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.starhope.appius.physica.TriangulationAlgorithm
abstract class TriangulationAlgorithm
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 |
---|
static final int edgeState
static final int insideState
static final int pointState
static final int triangleState
static final int triangulationState
final String algName
final int nStates
boolean[] state
Constructor Detail |
---|
public TriangulationAlgorithm(Triangulation t, String name, int nPoints)
t
- WRITEMEname
- WRITEMEnPoints
- WRITEMEMethod Detail |
---|
public void nextStep()
public void reset()
public void setAlgorithmState(int stateVar, boolean value)
stateVar
- WRITEMEvalue
- WRITEMEpublic abstract void triangulate(Triangulation t)
t
- WRITEME
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |