Uses of Class
org.locationtech.jts.planargraph.DirectedEdge
Packages that use DirectedEdge
Package
Description
Classes to perform line merging.
An API for polygonizing sets of lines.
Contains classes to implement a planar graph data structure.
-
Uses of DirectedEdge in org.locationtech.jts.operation.linemerge
Subclasses of DirectedEdge in org.locationtech.jts.operation.linemergeMethods in org.locationtech.jts.operation.linemerge that return DirectedEdgeModifier and TypeMethodDescriptionprivate static DirectedEdge
LineSequencer.findUnvisitedBestOrientedDE
(Node node) Finds anDirectedEdge
for an unvisited edge (if any), choosing the dirEdge which preserves orientation, if possible.Methods in org.locationtech.jts.operation.linemerge with parameters of type DirectedEdgeModifier and TypeMethodDescriptionprivate void
LineSequencer.addReverseSubpath
(DirectedEdge de, ListIterator lit, boolean expectedClosed) -
Uses of DirectedEdge in org.locationtech.jts.operation.polygonize
Subclasses of DirectedEdge in org.locationtech.jts.operation.polygonizeModifier and TypeClassDescription(package private) class
ADirectedEdge
of aPolygonizeGraph
, which represents an edge of a polygon formed by the graph.Fields in org.locationtech.jts.operation.polygonize declared as DirectedEdgeMethods in org.locationtech.jts.operation.polygonize with parameters of type DirectedEdgeModifier and TypeMethodDescriptionprivate void
EdgeRing.add
(DirectedEdge de) Adds aDirectedEdge
which is known to form part of this ring. -
Uses of DirectedEdge in org.locationtech.jts.planargraph
Fields in org.locationtech.jts.planargraph declared as DirectedEdgeModifier and TypeFieldDescriptionprotected DirectedEdge[]
Edge.dirEdge
The two DirectedEdges associated with this Edge.protected DirectedEdge
DirectedEdge.sym
Methods in org.locationtech.jts.planargraph that return DirectedEdgeModifier and TypeMethodDescriptionEdge.getDirEdge
(int i) Returns one of the DirectedEdges associated with this Edge.Edge.getDirEdge
(Node fromNode) Returns theDirectedEdge
that starts from the given node, or null if the node is not one of the two nodes associated with this Edge.DirectedEdgeStar.getNextCWEdge
(DirectedEdge dirEdge) Returns theDirectedEdge
on the right-hand (CW) side of the givenDirectedEdge
(which must be a member of this DirectedEdgeStar).DirectedEdgeStar.getNextEdge
(DirectedEdge dirEdge) Returns theDirectedEdge
on the left-hand (CCW) side of the givenDirectedEdge
(which must be a member of this DirectedEdgeStar).DirectedEdge.getSym()
Returns the symmetric DirectedEdge -- the other DirectedEdge associated with this DirectedEdge's parent Edge.Methods in org.locationtech.jts.planargraph with parameters of type DirectedEdgeModifier and TypeMethodDescriptionvoid
DirectedEdgeStar.add
(DirectedEdge de) Adds a new member to this DirectedEdgeStar.protected void
PlanarGraph.add
(DirectedEdge dirEdge) Adds the Edge to this PlanarGraph; only subclasses can add DirectedEdges, to ensure the edges added are of the right class.void
Node.addOutEdge
(DirectedEdge de) Adds an outgoing DirectedEdge to this Node.int
DirectedEdge.compareDirection
(DirectedEdge e) Returns 1 if this DirectedEdge has a greater angle with the positive x-axis than b", 0 if the DirectedEdges are collinear, and -1 otherwise.boolean
PlanarGraph.contains
(DirectedEdge de) Tests whether this graph contains the givenDirectedEdge
int
DirectedEdgeStar.getIndex
(DirectedEdge dirEdge) Returns the zero-based index of the given DirectedEdge, after sorting in ascending order by angle with the positive x-axis.DirectedEdgeStar.getNextCWEdge
(DirectedEdge dirEdge) Returns theDirectedEdge
on the right-hand (CW) side of the givenDirectedEdge
(which must be a member of this DirectedEdgeStar).DirectedEdgeStar.getNextEdge
(DirectedEdge dirEdge) Returns theDirectedEdge
on the left-hand (CCW) side of the givenDirectedEdge
(which must be a member of this DirectedEdgeStar).void
DirectedEdgeStar.remove
(DirectedEdge de) Drops a member of this DirectedEdgeStar.void
Node.remove
(DirectedEdge de) Removes aDirectedEdge
incident on this node.void
PlanarGraph.remove
(DirectedEdge de) Removes aDirectedEdge
from its from-Node
and from this graph.void
Edge.setDirectedEdges
(DirectedEdge de0, DirectedEdge de1) Initializes this Edge's two DirectedEdges, and for each DirectedEdge: sets the Edge, sets the symmetric DirectedEdge, and adds this Edge to its from-Node.void
DirectedEdge.setSym
(DirectedEdge sym) Sets this DirectedEdge's symmetric DirectedEdge, which runs in the opposite direction.Constructors in org.locationtech.jts.planargraph with parameters of type DirectedEdgeModifierConstructorDescriptionEdge
(DirectedEdge de0, DirectedEdge de1) Constructs an Edge initialized with the given DirectedEdges, and for each DirectedEdge: sets the Edge, sets the symmetric DirectedEdge, and adds this Edge to its from-Node.