com.vividsolutions.jts.geomgraph
Class Node
computeIM , getCoordinate , getLabel , isCovered , isCoveredSet , isInResult , isIsolated , isVisited , setCovered , setInResult , setLabel , setVisited , updateIM |
add
public void add(EdgeEnd e)
Add the edge to the list of edges at this node
isIsolated
public boolean isIsolated()
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.
- isIsolated in interface GraphComponent
- true if this component is isolated
mergeLabel
public void mergeLabel(Label label2)
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.
mergeLabel
public void mergeLabel(Node n)
print
public void print(PrintStream out)
setLabel
public void setLabel(int argIndex,
int onLocation)
setLabelBoundary
public void setLabelBoundary(int argIndex)
Updates the label of a node to BOUNDARY,
obeying the mod-2 boundaryDetermination rule.