Class: EdgeIntersectionList

jsts.geomgraph.EdgeIntersectionList

new EdgeIntersectionList()

Source:

Members

edge :Edge

the parent edge
Type:
  • Edge
Source:

Methods

add(intPt, segmentIndex, dist) → {EdgeIntersection}

Adds an intersection into the list, if it isn't already there. The input segmentIndex and dist are expected to be normalized.
Parameters:
Name Type Description
intPt Coordinate
segmentIndex int
dist double
Source:
Returns:
the EdgeIntersection found or added.
Type
EdgeIntersection

addEndpoints()

Adds entries for the first and last points of the edge to the list
Source:

addSplitEdges(edgeList)

Creates new edges for all the edges that the intersections in this list split the parent edge into. Adds the edges to the input list (this is so a single list can be used to accumulate all split edges for a Geometry).
Parameters:
Name Type Description
edgeList a list of EdgeIntersections.
Source:

createSplitEdge()

Create a new "split edge" with the section of points between (and including) the two intersections. The label for the new edge is the same as the label for the parent edge.
Source:

iterator()

Returns an iterator of EdgeIntersections
Source:
Returns:
an Iterator of EdgeIntersections.