|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.geomgraph.GraphComponent
com.vividsolutions.jts.geomgraph.Node
public class Node
Field Summary | |
---|---|
protected Coordinate |
coord
|
protected EdgeEndStar |
edges
|
Fields inherited from class com.vividsolutions.jts.geomgraph.GraphComponent |
---|
label |
Constructor Summary | |
---|---|
Node(Coordinate coord,
EdgeEndStar edges)
|
Method Summary | |
---|---|
void |
add(EdgeEnd e)
Add the edge to the list of edges at this node |
protected void |
computeIM(IntersectionMatrix im)
Basic nodes do not compute IMs |
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(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. |
Methods inherited from class com.vividsolutions.jts.geomgraph.GraphComponent |
---|
getLabel, isCovered, isCoveredSet, isInResult, isVisited, setCovered, setInResult, setLabel, setVisited, updateIM |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Coordinate coord
protected EdgeEndStar edges
Constructor Detail |
---|
public Node(Coordinate coord, EdgeEndStar edges)
Method Detail |
---|
public Coordinate getCoordinate()
getCoordinate
in class GraphComponent
public EdgeEndStar getEdges()
public boolean isIncidentEdgeInResult()
true
if any indicident edge in the in the resultpublic boolean isIsolated()
GraphComponent
isIsolated
in class GraphComponent
protected void computeIM(IntersectionMatrix im)
computeIM
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(PrintStream out)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |