Class EdgeList
java.lang.Object
org.locationtech.jts.geomgraph.EdgeList
A EdgeList is a list of Edges. It supports locating edges
that are pointwise equals to a target edge.
- Version:
- 1.7
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInsert an edge unless it is already in the listvoidaddAll(Collection edgeColl) intIf the edge e is already in the list, return its index.If there is an edge equal to e already in the list, return it.get(int i) getEdges()iterator()voidprint(PrintStream out)
-
Constructor Details
-
EdgeList
public EdgeList()
-
-
Method Details
-
add
-
addAll
-
getEdges
-
findEqualEdge
-
iterator
-
get
-
findEdgeIndex
If the edge e is already in the list, return its index.- Parameters:
e- Edge- Returns:
- index, if e is already in the list -1 otherwise
-
print
-