V
- the corresponding vertex classE
- the corresponding edge classF
- the corresponding face classpublic abstract class Face<V extends Vertex<V,E,F>,E extends Edge<V,E,F>,F extends Face<V,E,F>> extends Node<V,E,F>
HalfEdgeDataStructure
.
Any subclass that is to be used with a HalfEdgeDataStructure
must provide a default constructor accessible to HalfEdgeDataStructure
.Modifier and Type | Class and Description |
---|---|
static class |
Face.Naked
A face class with no further properties or functionality.
|
Modifier | Constructor and Description |
---|---|
protected |
Face() |
Modifier and Type | Method and Description |
---|---|
void |
copyData(F f)
Copies the data fields of the given face into this face
|
E |
getBoundaryEdge()
Find an edge in the half-edge data structure that has this face
as left face.
|
public void copyData(F f)
f
- public final E getBoundaryEdge() throws RuntimeException
RuntimeException
- if this face does not belong to a half-edge data structure