JTS Core 1.17.1
Packages
Classes
Search
About
Top
EdgeList()
add(Edge): void
addAll(Collection): void
getEdges(): List
findEqualEdge(Edge): Edge
iterator(): Iterator
get(int): Edge
findEdgeIndex(Edge): int
print(PrintStream): void
Bottom
Source
Classic
org.locationtech.jts.geomgraph
Class EdgeList
Hierarchy:
Object
, EdgeList
public class EdgeList
A EdgeList is a list of Edges. It supports locating edges that are pointwise equals to a target edge.
Other
version: 1.7
public
EdgeList()
public
void add(
Edge
e)
Insert an edge unless it is already in the list
public
void addAll(
Collection
edgeColl)
public
List
getEdges()
public
Edge
findEqualEdge(
Edge
e)
If there is an edge equal to e already in the list, return it. Otherwise return null.
Returns:
equal edge, if there is one already in the list null otherwise
public
Iterator
iterator()
public
Edge
get(int i)
public
int findEdgeIndex(
Edge
e)
If the edge e is already in the list, return its index.
Returns:
index, if e is already in the list -1 otherwise
public
void print(
PrintStream
out)