Class RelateNode
- java.lang.Object
-
- org.locationtech.jts.geomgraph.GraphComponent
-
- org.locationtech.jts.geomgraph.Node
-
- org.locationtech.jts.operation.relate.RelateNode
-
public class RelateNode extends Node
Represents a node in the topological graph used to compute spatial relationships.- Version:
- 1.7
-
-
Field Summary
-
Fields inherited from class org.locationtech.jts.geomgraph.GraphComponent
label
-
-
Constructor Summary
Constructors Constructor Description RelateNode(Coordinate coord, EdgeEndStar edges)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
computeIM(IntersectionMatrix im)
Update the IM with the contribution for this component.(package private) void
updateIMFromEdges(IntersectionMatrix im)
Update the IM with the contribution for the EdgeEnds incident on this node.-
Methods inherited from class org.locationtech.jts.geomgraph.Node
add, getCoordinate, getEdges, isIncidentEdgeInResult, isIsolated, mergeLabel, mergeLabel, print, setLabel, setLabelBoundary
-
Methods inherited from class org.locationtech.jts.geomgraph.GraphComponent
getLabel, isCovered, isCoveredSet, isInResult, isVisited, setCovered, setInResult, setLabel, setVisited, updateIM
-
-
-
-
Constructor Detail
-
RelateNode
public RelateNode(Coordinate coord, EdgeEndStar edges)
-
-
Method Detail
-
computeIM
protected void computeIM(IntersectionMatrix im)
Update the IM with the contribution for this component. A component only contributes if it has a labelling for both parent geometries
-
updateIMFromEdges
void updateIMFromEdges(IntersectionMatrix im)
Update the IM with the contribution for the EdgeEnds incident on this node.
-
-