public class Triangulation<V> extends Object implements Iterable<de.cismet.math.delaunytriangulation.Simplex<V>>
Created July 2005. Derived from an earlier, messier version.
| Constructor and Description |
|---|
Triangulation(de.cismet.math.delaunytriangulation.Simplex<V> simplex)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(de.cismet.math.delaunytriangulation.Simplex<V> simplex)
True if the simplex is in this Triangulation.
|
Iterator<de.cismet.math.delaunytriangulation.Simplex<V>> |
iterator()
Iterator.
|
de.cismet.math.delaunytriangulation.Simplex<V> |
neighborOpposite(Object vertex,
de.cismet.math.delaunytriangulation.Simplex<V> simplex)
Report neighbor opposite the given vertex of simplex.
|
Set<de.cismet.math.delaunytriangulation.Simplex<V>> |
neighbors(de.cismet.math.delaunytriangulation.Simplex<V> 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<? extends de.cismet.math.delaunytriangulation.Simplex<V>> oldSet,
Set<? extends de.cismet.math.delaunytriangulation.Simplex<V>> newSet)
Update by replacing one set of Simplices with another.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic Triangulation(de.cismet.math.delaunytriangulation.Simplex<V> simplex)
simplex - the initial Simplex.public String toString()
public int size()
public boolean contains(de.cismet.math.delaunytriangulation.Simplex<V> simplex)
simplex - the simplex to checkpublic void printStuff()
public de.cismet.math.delaunytriangulation.Simplex<V> neighborOpposite(Object vertex, de.cismet.math.delaunytriangulation.Simplex<V> simplex)
vertex - a vertex of simplexsimplex - we want the neighbor of this SimplexIllegalArgumentException - if vertex is not in this Simplexpublic Set<de.cismet.math.delaunytriangulation.Simplex<V>> neighbors(de.cismet.math.delaunytriangulation.Simplex<V> simplex)
simplex - a Simplexpublic void update(Set<? extends de.cismet.math.delaunytriangulation.Simplex<V>> oldSet, Set<? extends de.cismet.math.delaunytriangulation.Simplex<V>> newSet)
oldSet - set of Simplices to be replacednewSet - set of replacement SimplicesCopyright © 2012–2026 cismet GmbH. All rights reserved.