|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractSet
voronoi.Simplex
public class Simplex

A Simplex is an immutable set of vertices (usually Pnts).
| Field Summary | |
|---|---|
static boolean |
moreInfo
|
| Constructor Summary | |
|---|---|
Simplex(java.util.Collection collection)
Constructor. |
|
Simplex(java.lang.Object[] vertices)
Constructor. |
|
| Method Summary | |
|---|---|
static java.util.Set |
boundary(java.util.Set simplexSet)
Report the boundary of a Set of Simplices. |
int |
dimension()
Dimension of the Simplex. |
boolean |
equals(java.lang.Object o)
We want to allow for different simplices that share the same vertex set. |
java.util.List |
facets()
Report the facets of this Simplex. |
int |
hashCode()
|
boolean |
isNeighbor(Simplex simplex)
True iff simplices are neighbors. |
java.util.Iterator |
iterator()
|
int |
size()
|
java.lang.String |
toString()
String representation. |
| Methods inherited from class java.util.AbstractSet |
|---|
removeAll |
| Methods inherited from class java.util.AbstractCollection |
|---|
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Set |
|---|
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
| Field Detail |
|---|
public static boolean moreInfo
| Constructor Detail |
|---|
public Simplex(java.util.Collection collection)
collection - a Collection holding the Simplex vertices
java.lang.IllegalArgumentException - if there are duplicate verticespublic Simplex(java.lang.Object[] vertices)
vertices - the vertices of the Simplex.
java.lang.IllegalArgumentException - if there are duplicate vertices| Method Detail |
|---|
public java.lang.String toString()
toString in class java.util.AbstractCollectionpublic int dimension()
public boolean isNeighbor(Simplex simplex)
simplex - the other Simplex
public java.util.List facets()
public static java.util.Set boundary(java.util.Set simplexSet)
public java.util.Iterator iterator()
iterator in interface java.lang.Iterableiterator in interface java.util.Collectioniterator in interface java.util.Setiterator in class java.util.AbstractCollectionpublic int size()
size in interface java.util.Collectionsize in interface java.util.Setsize in class java.util.AbstractCollectionpublic int hashCode()
hashCode in interface java.util.CollectionhashCode in interface java.util.SethashCode in class java.util.AbstractSetpublic boolean equals(java.lang.Object o)
equals in interface java.util.Collectionequals in interface java.util.Setequals in class java.util.AbstractSet
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||