Class: EdgeList

jsts.geomgraph.EdgeList

new EdgeList()

A EdgeList is a list of Edges. It supports locating edges that are pointwise equals to a target edge.
Source:

Methods

add()

Insert an edge unless it is already in the list
Source:

findEdgeIndex() → {Number}

If the edge e is already in the list, return its index.
Source:
Returns:
index, if e is already in the list -1 otherwise.
Type
Number

findEqualEdge(e) → {Edge}

If there is an edge equal to e already in the list, return it. Otherwise return null.
Parameters:
Name Type Description
e Edge
Source:
Returns:
equal edge, if there is one already in the list null otherwise.
Type
Edge

getEdges() → {javascript.util.List}

Source:
Returns:
Type
javascript.util.List