public class SegmentNodeList
extends java.lang.Object
SegmentNode
s present along a noded SegmentString
.Constructor | Description |
---|---|
SegmentNodeList(NodedSegmentString edge) |
Modifier and Type | Method | Description |
---|---|---|
SegmentNode |
add(Coordinate intPt,
int segmentIndex) |
Adds an intersection into the list, if it isn't already there.
|
void |
addSplitEdges(java.util.Collection edgeList) |
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.
|
java.util.Iterator |
iterator() |
returns an iterator of SegmentNodes
|
void |
print(java.io.PrintStream out) |
public SegmentNodeList(NodedSegmentString edge)
public NodedSegmentString getEdge()
public SegmentNode add(Coordinate intPt, int segmentIndex)
public java.util.Iterator iterator()
public void addSplitEdges(java.util.Collection edgeList)
SegmentString
s).public Coordinate[] getSplitCoordinates()
public void print(java.io.PrintStream out)
Copyright © 2018. All rights reserved.