|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.starhope.appius.physica.Triangulation
class Triangulation
Triangulation class. A triangulation is represented as a set of points and the edges which form the triangulation.
| Field Summary | |
|---|---|
(package private) Edge[] |
edge
WRITEME: Document this brpocock@star-hope.org |
(package private) int |
maxEdges
WRITEME: Document this brpocock@star-hope.org |
(package private) int |
nEdges
WRITEME: Document this brpocock@star-hope.org |
(package private) int |
nPoints
WRITEME: Document this brpocock@star-hope.org |
(package private) Point2D.Double[] |
point
WRITEME: Document this brpocock@star-hope.org |
(package private) static int |
Undefined
WRITEME: Document this brpocock@star-hope.org |
(package private) static int |
Universe
WRITEME: Document this brpocock@star-hope.org |
| Constructor Summary | |
|---|---|
Triangulation(int numPoints)
WRITEME: Document this constructor brpocock@star-hope.org |
|
| Method Summary | |
|---|---|
int |
addEdge(int s,
int t)
WRITEME: Document this method brpocock@star-hope.org |
int |
addEdge(int s,
int t,
int l,
int r)
Adds an edge to the triangulation. |
(package private) void |
addTriangle(int s,
int t,
int u)
WRITEME: Document this method brpocock@star-hope.org |
void |
copyPoints(Triangulation t)
Copies a set of points. |
int |
findEdge(int s,
int t)
WRITEME: Document this method brpocock@star-hope.org |
void |
print(PrintStream p)
WRITEME: Document this method brpocock@star-hope.org |
void |
printEdges(PrintStream p)
WRITEME: Document this method brpocock@star-hope.org |
void |
printPoints(PrintStream p)
WRITEME: Document this method brpocock@star-hope.org |
void |
setNPoints(int numPoints)
Sets the number of points in the triangulation. |
void |
updateLeftFace(int eI,
int s,
int t,
int f)
Update the left face of an edge. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final int Undefined
static final int Universe
Edge[] edge
int maxEdges
int nEdges
int nPoints
Point2D.Double[] point
| Constructor Detail |
|---|
Triangulation(int numPoints)
numPoints - WRITEME| Method Detail |
|---|
public int addEdge(int s,
int t)
s - WRITEMEt - WRITEME
public int addEdge(int s,
int t,
int l,
int r)
s - WRITEMEt - WRITEMEl - WRITEMEr - WRITEME
void addTriangle(int s,
int t,
int u)
s - WRITEMEt - WRITEMEu - WRITEMEpublic void copyPoints(Triangulation t)
t - WRITEME
public int findEdge(int s,
int t)
s - WRITEMEt - WRITEME
public void print(PrintStream p)
p - WRITEMEpublic void printEdges(PrintStream p)
p - WRITEMEpublic void printPoints(PrintStream p)
p - WRITEMEpublic void setNPoints(int numPoints)
numPoints - WRITEME
public void updateLeftFace(int eI,
int s,
int t,
int f)
eI - WRITEMEs - WRITEMEt - WRITEMEf - WRITEME
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||