public class NodeMap
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) NodeFactory |
nodeFact |
(package private) java.util.Map |
nodeMap |
Constructor and Description |
---|
NodeMap(NodeFactory nodeFact) |
Modifier and Type | Method and Description |
---|---|
void |
add(EdgeEnd e)
Adds a node for the start point of this EdgeEnd
(if one does not already exist in this map).
|
Node |
addNode(Coordinate coord)
This method expects that a node has a coordinate value.
|
Node |
addNode(Node n) |
Node |
find(Coordinate coord) |
java.util.Collection |
getBoundaryNodes(int geomIndex) |
java.util.Iterator |
iterator() |
void |
print(java.io.PrintStream out) |
java.util.Collection |
values() |
java.util.Map nodeMap
NodeFactory nodeFact
public NodeMap(NodeFactory nodeFact)
public Node addNode(Coordinate coord)
public void add(EdgeEnd e)
public Node find(Coordinate coord)
public java.util.Iterator iterator()
public java.util.Collection values()
public java.util.Collection getBoundaryNodes(int geomIndex)
public void print(java.io.PrintStream out)