Class NodeMap
java.lang.Object
org.locationtech.jts.geomgraph.NodeMap
A map of nodes, indexed by the coordinate of the node
- Version:
- 1.7
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds 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) Find coordinate.getBoundaryNodes(int geomIndex) iterator()voidprint(PrintStream out) values()
-
Constructor Details
-
NodeMap
-
-
Method Details
-
addNode
This method expects that a node has a coordinate value.- Parameters:
coord- Coordinate- Returns:
- node for the provided coord
-
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.- Parameters:
e- EdgeEnd
-
find
Find coordinate.- Parameters:
coord- Coordinate to find- Returns:
- the node if found; null otherwise
-
iterator
-
values
-
getBoundaryNodes
-
print
-