public abstract class Node<V extends Vertex<V,E,F>,E extends Edge<V,E,F>,F extends Face<V,E,F>> extends Object implements Comparable<Node<V,E,F>>
Constructor and Description |
---|
Node() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Node<V,E,F> o) |
HalfEdgeDataStructure<V,E,F> |
getHalfEdgeDataStructure()
Return the half-edge data structure to which this node belongs, or
null if it has been removed. |
int |
getIndex() |
boolean |
isValid()
Check whether this node still belongs to a half-edge data structure.
|
String |
toString() |
public final HalfEdgeDataStructure<V,E,F> getHalfEdgeDataStructure()
null
if it has been removed.null
.public final int getIndex()
public final boolean isValid()
true
if this node belongs to a half-edge data structure, false
if it has been removed.