V
- the corresponding vertex classE
- the corresponding edge classF
- the corresponding face classpublic abstract class Vertex<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 |
Vertex.Naked
A vertex class with no further properties or functionality.
|
Modifier | Constructor and Description |
---|---|
protected |
Vertex() |
Modifier and Type | Method and Description |
---|---|
void |
copyData(V v)
Copies the data fields of the given vertex into this vertex
|
E |
getIncomingEdge()
Find an edge in the half-edge data structure that has this vertex
as target vertex.
|
public void copyData(V v)
v
- public final E getIncomingEdge() throws RuntimeException
RuntimeException
- if this face does not belong to a half-edge data structure