public class SegmentNodeList extends Object
SegmentNodes present along a noded
SegmentString.
| Constructor and Description |
|---|
SegmentNodeList(NodedSegmentString
|
| Modifier and Type | Method and Description |
|---|---|
SegmentNode |
add(Coordinate
Adds an intersection into the list, if it isn't already there.
|
void |
addSplitEdges(Collection
Creates new edges for all the edges that the intersections in this list split the parent edge into.
|
NodedSegmentString |
getEdge()
|
Coordinate |
getSplitCoordinates()
Gets the list of coordinates for the fully noded segment string, including all original segment string vertices and vertices introduced by nodes in this list.
|
Iterator |
iterator()
returns an iterator of SegmentNodes
|
void |
print(PrintStream
|
public SegmentNodeList(NodedSegmentStringedge)
public NodedSegmentStringgetEdge()
public SegmentNodeadd(Coordinate intPt, int segmentIndex)
public Iteratoriterator()
public void addSplitEdges(CollectionedgeList)
SegmentStrings).
public Coordinate[] getSplitCoordinates()
public void print(PrintStreamout)