Class LineMergeEdge
java.lang.Object
org.locationtech.jts.planargraph.GraphComponent
org.locationtech.jts.planargraph.Edge
org.locationtech.jts.operation.linemerge.LineMergeEdge
An edge of a
LineMergeGraph
. The marked
field indicates
whether this Edge has been logically deleted from the graph.- Version:
- 1.7
-
Field Summary
Fields inherited from class org.locationtech.jts.planargraph.GraphComponent
isMarked, isVisited
-
Constructor Summary
ConstructorsConstructorDescriptionLineMergeEdge
(LineString line) Constructs a LineMergeEdge with vertices given by the specified LineString. -
Method Summary
Modifier and TypeMethodDescriptiongetLine()
Returns the LineString specifying the vertices of this edge.Methods inherited from class org.locationtech.jts.planargraph.Edge
getDirEdge, getDirEdge, getOppositeNode, isRemoved, setDirectedEdges
Methods inherited from class org.locationtech.jts.planargraph.GraphComponent
getComponentWithVisitedState, getContext, getData, isMarked, isVisited, setContext, setData, setMarked, setMarked, setVisited, setVisited
-
Constructor Details
-
LineMergeEdge
Constructs a LineMergeEdge with vertices given by the specified LineString.
-
-
Method Details
-
getLine
Returns the LineString specifying the vertices of this edge.
-