Package org.locationtech.jts.geomgraph
Class NodeMap
java.lang.Object
org.locationtech.jts.geomgraph.NodeMap
A map of nodes, indexed by the coordinate of the node
- Version:
- 1.7
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a node for the start point of this EdgeEnd (if one does not already exist in this map).addNode
(Coordinate coord) This method expects that a node has a coordinate value.find
(Coordinate coord) getBoundaryNodes
(int geomIndex) iterator()
void
print
(PrintStream out) values()
-
Field Details
-
nodeMap
Map nodeMap -
nodeFact
NodeFactory nodeFact
-
-
Constructor Details
-
NodeMap
-
-
Method Details
-
addNode
This method expects that a node has a coordinate value. -
addNode
-
add
Adds a node for the start point of this EdgeEnd (if one does not already exist in this map). Adds the EdgeEnd to the (possibly new) node. -
find
- Returns:
- the node if found; null otherwise
-
iterator
-
values
-
getBoundaryNodes
-
print
-