JTS Core 1.17.1
Packages
Classes
Search
About
Top
NodeMap(NodeFactory)
addNode(Coordinate): Node
addNode(Node): Node
add(EdgeEnd): void
find(Coordinate): Node
iterator(): Iterator
values(): Collection
getBoundaryNodes(int): Collection
print(PrintStream): void
Bottom
Source
Classic
org.locationtech.jts.geomgraph
Class NodeMap
Hierarchy:
Object
, NodeMap
public class NodeMap
A map of nodes, indexed by the coordinate of the node
Other
version: 1.7
public
NodeMap(
NodeFactory
nodeFact)
public
Node
addNode(
Coordinate
coord)
This method expects that a node has a coordinate value.
public
Node
addNode(
Node
n)
public
void add(
EdgeEnd
e)
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.
public
Node
find(
Coordinate
coord)
Returns:
the node if found; null otherwise
public
Iterator
iterator()
public
Collection
values()
public
Collection
getBoundaryNodes(int geomIndex)
public
void print(
PrintStream
out)