public class Triangulation
extends java.lang.Object
| Constructor and Description |
|---|
Triangulation(org.openjump.core.graph.delauneySimplexInsert.Simplex simplex)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(org.openjump.core.graph.delauneySimplexInsert.Simplex simplex)
True iff the simplex is in this Triangulation.
|
java.util.Iterator |
iterator()
Iterator.
|
org.openjump.core.graph.delauneySimplexInsert.Simplex |
neighborOpposite(java.lang.Object vertex,
org.openjump.core.graph.delauneySimplexInsert.Simplex simplex)
Report neighbor opposite the given vertex of simplex.
|
java.util.Set |
neighbors(org.openjump.core.graph.delauneySimplexInsert.Simplex simplex)
Report neighbors of the given simplex.
|
void |
printStuff()
Print stuff about a Triangulation.
|
int |
size()
Size (# of Simplices) in Triangulation.
|
java.lang.String |
toString()
String representation.
|
void |
update(java.util.Set oldSet,
java.util.Set newSet)
Update by replacing one set of Simplices with another.
|
public Triangulation(org.openjump.core.graph.delauneySimplexInsert.Simplex simplex)
simplex - the initial Simplex.public java.lang.String toString()
toString in class java.lang.Objectpublic int size()
public boolean contains(org.openjump.core.graph.delauneySimplexInsert.Simplex simplex)
simplex - the simplex to checkpublic java.util.Iterator iterator()
public void printStuff()
public org.openjump.core.graph.delauneySimplexInsert.Simplex neighborOpposite(java.lang.Object vertex,
org.openjump.core.graph.delauneySimplexInsert.Simplex simplex)
vertex - a vertex of simplexsimplex - we want the neighbor of this Simplexjava.lang.IllegalArgumentException - if vertex is not in this Simplexpublic java.util.Set neighbors(org.openjump.core.graph.delauneySimplexInsert.Simplex simplex)
simplex - a Simplexpublic void update(java.util.Set oldSet,
java.util.Set newSet)
oldSet - set of Simplices to be replacednewSet - set of replacement Simplices