edu.stanford.math.plex4.examples
public class CellComplexOperations extends java.lang.Object
Constructor and Description |
---|
CellComplexOperations() |
Modifier and Type | Method and Description |
---|---|
static ExplicitCellStream |
disjointUnion(ExplicitCellStream stream1,
ExplicitCellStream stream2)
This function produces a cell complex that is the disjoint union of two cell complexes.
|
static void |
identifyPoints(ExplicitCellStream stream,
int[] vertices)
This function collapses the points in the supplied array to a single point.
|
public static ExplicitCellStream disjointUnion(ExplicitCellStream stream1, ExplicitCellStream stream2)
stream1
- the first cell complexstream2
- the second cell complexpublic static void identifyPoints(ExplicitCellStream stream, int[] vertices)
stream
- the cell complexvertices
- the vertices to identify