RelateNode

class RelateNode(val coordArg: Coordinate, val edgesArg: EdgeEndStar) extends Node

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

Version

1.7

class Node
class Object
trait Matchable
class Any

Value members

Inherited methods

def add(e: EdgeEnd): Unit

Add the edge to the list of edges at this node

Add the edge to the list of edges at this node

Inherited from
Node
Definition Classes
Inherited from
Node
Inherited from
Node
Inherited from
GraphComponent
def isCovered: Boolean
Inherited from
GraphComponent
def isCoveredSet: Boolean
Inherited from
GraphComponent
def isInResult: Boolean
Inherited from
GraphComponent

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.

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.

return <code>true</code> if any incident edge in the in the result

Inherited from
Node
override def isIsolated: Boolean
Definition Classes
Inherited from
Node
def isVisited: Boolean
Inherited from
GraphComponent
def mergeLabel(label2: Label): Unit

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.

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 from
Node
def mergeLabel(n: Node): Unit
Inherited from
Node
def setCovered(isCovered: Boolean): Unit
Inherited from
GraphComponent
def setInResult(isInResult: Boolean): Unit
Inherited from
GraphComponent
def setLabel(argIndex: Int, onLocation: Int): Unit
Inherited from
Node
def setLabel(label: Label): Unit
Inherited from
GraphComponent
def setLabelBoundary(argIndex: Int): Unit

Updates the label of a node to BOUNDARY, obeying the mod-2 boundaryDetermination rule.

Updates the label of a node to BOUNDARY, obeying the mod-2 boundaryDetermination rule.

Inherited from
Node
def setVisited(isVisited: Boolean): Unit
Inherited from
GraphComponent

Update the IM with the contribution for this component. A component only contributes if it has a labelling for both parent geometries

Update the IM with the contribution for this component. A component only contributes if it has a labelling for both parent geometries

Inherited from
GraphComponent

Concrete fields

Inherited fields

Inherited from
Node
Inherited from
Node
var label: Label
Inherited from
GraphComponent