public class Simplex extends AbstractSet implements Set
| Modifier and Type | Field and Description |
|---|---|
static boolean |
moreInfo |
| Constructor and Description |
|---|
Simplex(Collection collection)
Constructor.
|
Simplex(Object[] vertices)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Set |
boundary(Set simplexSet)
Report the boundary of a Set of Simplices.
|
int |
dimension()
Dimension of the Simplex.
|
boolean |
equals(Object o)
We want to allow for different simplices that share the same vertex set.
|
List |
facets()
Report the facets of this Simplex.
|
int |
hashCode() |
boolean |
isNeighbor(Simplex simplex)
True iff simplices are neighbors.
|
Iterator |
iterator() |
int |
size() |
String |
toString()
String representation.
|
removeAlladd, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, spliterator, toArray, toArrayparallelStream, removeIf, streampublic Simplex(Collection collection)
collection - a Collection holding the Simplex verticesIllegalArgumentException - if there are duplicate verticespublic Simplex(Object[] vertices)
vertices - the vertices of the Simplex.IllegalArgumentException - if there are duplicate verticespublic String toString()
toString in class AbstractCollectionpublic int dimension()
public boolean isNeighbor(Simplex simplex)
simplex - the other Simplexpublic List facets()
public static Set boundary(Set simplexSet)
public Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in interface Setiterator in class AbstractCollectionpublic int size()
size in interface Collectionsize in interface Setsize in class AbstractCollectionpublic int hashCode()
hashCode in interface CollectionhashCode in interface SethashCode in class AbstractSetpublic boolean equals(Object o)
equals in interface Collectionequals in interface Setequals in class AbstractSetCopyright © 2015–2021 Fiji. All rights reserved.