Uses of Class
org.locationtech.jts.planargraph.DirectedEdge
Packages that use DirectedEdge
Package
Description
Classes to perform line merging.
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 -
Uses of DirectedEdge in org.locationtech.jts.planargraph
Fields in org.locationtech.jts.planargraph declared as DirectedEdgeModifier and TypeFieldDescriptionprotected DirectedEdge[]Edge.dirEdgeThe two DirectedEdges associated with this Edge.protected DirectedEdgeDirectedEdge.symFields in org.locationtech.jts.planargraph with type parameters of type DirectedEdgeModifier and TypeFieldDescriptionprotected List<DirectedEdge> DirectedEdgeStar.outEdgesThe underlying list of outgoing DirectedEdgesMethods 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 theDirectedEdgethat 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 theDirectedEdgeon the right-hand (CW) side of the givenDirectedEdge(which must be a member of this DirectedEdgeStar).DirectedEdgeStar.getNextEdge(DirectedEdge dirEdge) Returns theDirectedEdgeon 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 that return types with arguments of type DirectedEdgeModifier and TypeMethodDescriptionDirectedEdgeStar.getEdges()Returns the DirectedEdges, in ascending order by angle with the positive x-axis.DirectedEdgeStar.iterator()Returns an Iterator over the DirectedEdges, in ascending order by angle with the positive x-axis.Methods in org.locationtech.jts.planargraph with parameters of type DirectedEdgeModifier and TypeMethodDescriptionvoidDirectedEdgeStar.add(DirectedEdge de) Adds a new member to this DirectedEdgeStar.protected voidPlanarGraph.add(DirectedEdge dirEdge) Adds the Edge to this PlanarGraph; only subclasses can add DirectedEdges, to ensure the edges added are of the right class.voidNode.addOutEdge(DirectedEdge de) Adds an outgoing DirectedEdge to this Node.intDirectedEdge.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.booleanPlanarGraph.contains(DirectedEdge de) Tests whether this graph contains the givenDirectedEdgeintDirectedEdgeStar.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 theDirectedEdgeon the right-hand (CW) side of the givenDirectedEdge(which must be a member of this DirectedEdgeStar).DirectedEdgeStar.getNextEdge(DirectedEdge dirEdge) Returns theDirectedEdgeon the left-hand (CCW) side of the givenDirectedEdge(which must be a member of this DirectedEdgeStar).voidDirectedEdgeStar.remove(DirectedEdge de) Drops a member of this DirectedEdgeStar.voidNode.remove(DirectedEdge de) Removes aDirectedEdgeincident on this node.voidPlanarGraph.remove(DirectedEdge de) Removes aDirectedEdgefrom its from-Nodeand from this graph.voidEdge.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.voidDirectedEdge.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.