public class Triangulation extends Object
Constructor and Description |
---|
Triangulation(Simplex simplex)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Simplex simplex)
True iff the simplex is in this Triangulation.
|
Iterator |
iterator()
Iterator.
|
Simplex |
neighborOpposite(Object vertex,
Simplex simplex)
Report neighbor opposite the given vertex of simplex.
|
Set |
neighbors(Simplex simplex)
Report neighbors of the given simplex.
|
void |
printStuff()
Print stuff about a Triangulation.
|
int |
size()
Size (# of Simplices) in Triangulation.
|
String |
toString()
String representation.
|
void |
update(Set oldSet,
Set newSet)
Update by replacing one set of Simplices with another.
|
public Triangulation(Simplex simplex)
simplex
- the initial Simplex.public String toString()
public int size()
public boolean contains(Simplex simplex)
simplex
- the simplex to checkpublic Iterator iterator()
public void printStuff()
public Simplex neighborOpposite(Object vertex, Simplex simplex)
vertex
- a vertex of simplexsimplex
- we want the neighbor of this SimplexIllegalArgumentException
- if vertex is not in this Simplexpublic Set neighbors(Simplex simplex)
simplex
- a SimplexCopyright © 2015–2021 Fiji. All rights reserved.