public class Triangulation<V> extends Object implements Iterable<Simplex<V>>
Constructor and Description |
---|
Triangulation(Simplex<V> simplex)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Simplex<V> simplex)
True iff the simplex is in this Triangulation.
|
Iterator<Simplex<V>> |
iterator()
Iterator.
|
Simplex<V> |
neighborOpposite(Object vertex,
Simplex<V> simplex)
Report neighbor opposite the given vertex of simplex.
|
Set<Simplex<V>> |
neighbors(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 Simplex<V>> oldSet,
Set<? extends Simplex<V>> newSet)
Update by replacing one set of Simplices with another.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public String toString()
public int size()
public boolean contains(Simplex<V> simplex)
simplex
- the simplex to checkpublic void printStuff()
public Simplex<V> neighborOpposite(Object vertex, Simplex<V> simplex)
vertex
- a vertex of simplexsimplex
- we want the neighbor of this SimplexIllegalArgumentException
- if vertex is not in this Simplexpublic Set<Simplex<V>> neighbors(Simplex<V> simplex)
simplex
- a Simplexpublic void update(Set<? extends Simplex<V>> oldSet, Set<? extends Simplex<V>> newSet)
oldSet
- set of Simplices to be replacednewSet
- set of replacement SimplicesCopyright © 2000-2002 Xerox Corporation. All Rights Reserved
Copyright © 2003 World Wide Web Consortium. All Rights Reserved
Copyright © 2004-2015 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.