RelateNode
public class Node extends GraphComponent
Constructor | Description |
---|---|
Node(Coordinate coord,
EdgeEndStar edges) |
Modifier and Type | Method | Description |
---|---|---|
void |
add(EdgeEnd e) |
Add the edge to the list of edges at this node
|
Coordinate |
getCoordinate() |
|
EdgeEndStar |
getEdges() |
|
boolean |
isIncidentEdgeInResult() |
Tests whether any incident edge is flagged as
being in the result.
|
boolean |
isIsolated() |
An isolated component is one that does not intersect or touch any other
component.
|
void |
mergeLabel(Label label2) |
To merge labels for two nodes,
the merged location for each LabelElement is computed.
|
void |
mergeLabel(Node n) |
|
void |
print(java.io.PrintStream out) |
|
void |
setLabel(int argIndex,
int onLocation) |
|
void |
setLabelBoundary(int argIndex) |
Updates the label of a node to BOUNDARY,
obeying the mod-2 boundaryDetermination rule.
|
getLabel, isCovered, isCoveredSet, isInResult, isVisited, setCovered, setInResult, setLabel, setVisited, updateIM
public Node(Coordinate coord, EdgeEndStar edges)
public Coordinate getCoordinate()
getCoordinate
in class GraphComponent
public EdgeEndStar getEdges()
public boolean isIncidentEdgeInResult()
true
if any incident edge in the in the resultpublic boolean isIsolated()
GraphComponent
isIsolated
in class GraphComponent
public void add(EdgeEnd e)
public void mergeLabel(Node n)
public void mergeLabel(Label label2)
public void setLabel(int argIndex, int onLocation)
public void setLabelBoundary(int argIndex)
public void print(java.io.PrintStream out)
Copyright © 2018. All rights reserved.