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