de.cau.cs.kieler.klodd.hierarchical.structures.slimgraph
Class KSlimFace
java.lang.Object
de.cau.cs.kieler.klodd.hierarchical.structures.slimgraph.KSlimGraphElement
de.cau.cs.kieler.klodd.hierarchical.structures.slimgraph.KSlimFace
- All Implemented Interfaces:
- Comparable<KSlimGraphElement>
public class KSlimFace
- extends KSlimGraphElement
A face in the slim graph structure.
- Rating

- (2009-12-11) msp
Constructor Summary |
KSlimFace(KSlimGraph graph,
boolean addToInternal)
Creates a face and optionally adds it to the given graph. |
KSlimFace
public KSlimFace(KSlimGraph graph,
boolean addToInternal)
- Creates a face and optionally adds it to the given graph.
- Parameters:
graph
- graph to which the new face shall be addedaddToInternal
- if true, the new face is added to the graph's list
of internal faces
getIterator
public ListIterator<KSlimFace.BorderEntry> getIterator(KSlimEdge edge,
boolean forward)
- Gets a list iterator with the current position at the given edge. The
returned iterator has its cursor directly after the edge.
- Parameters:
edge
- edge at which the iterator shall pointforward
- is the given edge forward for this face?
- Returns:
- iterator pointing at
edge
, or null if the edge was
not found
getBorders
public List<List<KSlimFace.BorderEntry>> getBorders()
- Returns the borders.
- Returns:
- the borders