Uses of Class
org.locationtech.jts.planargraph.DirectedEdge
-
Packages that use DirectedEdge Package Description org.locationtech.jts.operation.linemerge Classes to perform line merging.org.locationtech.jts.planargraph 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.linemerge Modifier and Type Class Description class
LineMergeDirectedEdge
ADirectedEdge
of aLineMergeGraph
. -
Uses of DirectedEdge in org.locationtech.jts.planargraph
Methods in org.locationtech.jts.planargraph that return DirectedEdge Modifier and Type Method Description DirectedEdge
Edge. getDirEdge(int i)
Returns one of the DirectedEdges associated with this Edge.DirectedEdge
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.DirectedEdge
DirectedEdgeStar. getNextCWEdge(DirectedEdge dirEdge)
Returns theDirectedEdge
on the right-hand (CW) side of the givenDirectedEdge
(which must be a member of this DirectedEdgeStar).DirectedEdge
DirectedEdgeStar. getNextEdge(DirectedEdge dirEdge)
Returns theDirectedEdge
on the left-hand (CCW) side of the givenDirectedEdge
(which must be a member of this DirectedEdgeStar).DirectedEdge
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 DirectedEdge Modifier and Type Method Description void
DirectedEdgeStar. add(DirectedEdge de)
Adds a new member to this DirectedEdgeStar.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.DirectedEdge
DirectedEdgeStar. getNextCWEdge(DirectedEdge dirEdge)
Returns theDirectedEdge
on the right-hand (CW) side of the givenDirectedEdge
(which must be a member of this DirectedEdgeStar).DirectedEdge
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 DirectedEdge Constructor Description Edge(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.
-