RelateNode class

Represents a node in the topological graph used to compute spatial relationships.

@version 1.7

Inheritance

Constructors

RelateNode(Coordinate coord, EdgeEndStar edges)

Properties

coord Coordinate
getter/setter pairinherited
edges EdgeEndStar?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
label Label?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(EdgeEnd e) → void
Add the edge to the list of edges at this node
inherited
computeIM(IntersectionMatrix im) → void
Update the IM with the contribution for this component. A component only contributes if it has a labelling for both parent geometries
override
computeMergedLocation(Label label2, int eltIndex) int
The location for a given eltIndex for a node will be one of { null, INTERIOR, BOUNDARY }. A node may be on both the boundary and the interior of a geometry; in this case, the rule is that the node is considered to be in the boundary. The merged location is the maximum of the two input values.
inherited
getCoordinate() Coordinate
@return a coordinate in this component (or null, if there are none)
inherited
getEdges() EdgeEndStar?
inherited
getLabel() Label?
inherited
isCovered() bool
inherited
isCoveredSet() bool
inherited
isIncidentEdgeInResult() bool
Tests whether any incident edge is flagged as being in the result. This test can be used to determine if the node is in the result, since if any incident edge is in the result, the node must be in the result as well.
inherited
isInResult() bool
inherited
isIsolated() bool
An isolated component is one that does not intersect or touch any other component. This is the case if the label has valid locations for only a single Geometry.
inherited
isVisited() bool
inherited
mergeLabel(Label label2) → void
To merge labels for two nodes, the merged location for each LabelElement is computed. The location for the corresponding node LabelElement is set to the result, as long as the location is non-null.
inherited
mergeLabelFromNode(Node n) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCovered(bool isCovered) → void
inherited
setInResult(bool isInResult) → void
inherited
setLabel(Label label) → void
inherited
setLabelBoundary(int argIndex) → void
Updates the label of a node to BOUNDARY, obeying the mod-2 boundaryDetermination rule.
inherited
setLabelWithIndex(int argIndex, int onLocation) → void
inherited
setVisited(bool isVisited) → void
inherited
toString() String
A string representation of this object.
inherited
updateIM(IntersectionMatrix im) → void
Update the IM with the contribution for this component. A component only contributes if it has a labelling for both parent geometries
inherited
updateIMFromEdges(IntersectionMatrix im) → void
Update the IM with the contribution for the EdgeEnds incident on this node.

Operators

operator ==(Object other) bool
The equality operator.
inherited