Uses of Class
org.locationtech.jts.planargraph.Node
-
Packages that use Node Package Description org.locationtech.jts.operation.linemerge Classes to perform line merging.org.locationtech.jts.planargraph Contains classes to implement a planar graph data structure. -
-
Uses of Node in org.locationtech.jts.operation.linemerge
Constructors in org.locationtech.jts.operation.linemerge with parameters of type Node Constructor Description LineMergeDirectedEdge(Node from, Node to, Coordinate directionPt, boolean edgeDirection)
Constructs a LineMergeDirectedEdge connecting thefrom
node to theto
node. -
Uses of Node in org.locationtech.jts.planargraph
Methods in org.locationtech.jts.planargraph that return Node Modifier and Type Method Description Node
NodeMap. add(Node n)
Adds a node to the map, replacing any that is already at that location.Node
NodeMap. find(Coordinate coord)
Returns the Node at the given location, or null if no Node was there.Node
PlanarGraph. findNode(Coordinate pt)
Node
DirectedEdge. getFromNode()
Returns the node from which this DirectedEdge leaves.Node
Edge. getOppositeNode(Node node)
Ifnode
is one of the two nodes associated with this Edge, returns the other node; otherwise returns null.Node
DirectedEdge. getToNode()
Returns the node to which this DirectedEdge goes.Node
NodeMap. remove(Coordinate pt)
Removes the Node at the given location, and returns it (or null if no Node was there).Methods in org.locationtech.jts.planargraph with parameters of type Node Modifier and Type Method Description Node
NodeMap. add(Node n)
Adds a node to the map, replacing any that is already at that location.DirectedEdge
Edge. getDirEdge(Node fromNode)
Returns theDirectedEdge
that starts from the given node, or null if the node is not one of the two nodes associated with this Edge.static java.util.Collection
Node. getEdgesBetween(Node node0, Node node1)
Returns all Edges that connect the two nodes (which are assumed to be different).Node
Edge. getOppositeNode(Node node)
Ifnode
is one of the two nodes associated with this Edge, returns the other node; otherwise returns null.void
PlanarGraph. remove(Node node)
Removes a node from the graph, along with any associated DirectedEdges and Edges.Constructors in org.locationtech.jts.planargraph with parameters of type Node Constructor Description DirectedEdge(Node from, Node to, Coordinate directionPt, boolean edgeDirection)
Constructs a DirectedEdge connecting thefrom
node to theto
node.
-