| Package | Description |
|---|---|
| com.vividsolutions.jts.operation.linemerge |
Classes to perform line merging.
|
| com.vividsolutions.jts.planargraph |
Contains classes to implement a planar graph data structure.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LineMergeDirectedEdge
A
DirectedEdge of a
LineMergeGraph.
|
| Modifier and Type | Field and Description |
|---|---|
protected DirectedEdge |
Edge.dirEdge
The two DirectedEdges associated with this Edge.
|
protected DirectedEdge |
DirectedEdge.sym
|
| Modifier and Type | Method and Description |
|---|---|
DirectedEdge |
Edge.getDirEdge(int i)
Returns one of the DirectedEdges associated with this Edge.
|
DirectedEdge |
Edge.getDirEdge(Node
Returns the
DirectedEdge 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
Returns the
DirectedEdge on the right-hand (CW) side of the given
DirectedEdge (which must be a member of this DirectedEdgeStar).
|
DirectedEdge |
DirectedEdgeStar.getNextEdge(DirectedEdge
Returns the
DirectedEdge on the left-hand (CCW) side of the given
DirectedEdge (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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DirectedEdgeStar.add(DirectedEdge
Adds a new member to this DirectedEdgeStar.
|
protected void |
PlanarGraph.add(DirectedEdge
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
Adds an outgoing DirectedEdge to this Node.
|
int |
DirectedEdge.compareDirection(DirectedEdge
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
Tests whether this graph contains the given
DirectedEdge
|
int |
DirectedEdgeStar.getIndex(DirectedEdge
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
Returns the
DirectedEdge on the right-hand (CW) side of the given
DirectedEdge (which must be a member of this DirectedEdgeStar).
|
DirectedEdge |
DirectedEdgeStar.getNextEdge(DirectedEdge
Returns the
DirectedEdge on the left-hand (CCW) side of the given
DirectedEdge (which must be a member of this DirectedEdgeStar).
|
void |
Node.remove(DirectedEdge
Removes a
DirectedEdge incident on this node.
|
void |
DirectedEdgeStar.remove(DirectedEdge
Drops a member of this DirectedEdgeStar.
|
void |
PlanarGraph.remove(DirectedEdge
Removes a
DirectedEdge from its from-
Node and from this graph.
|
void |
Edge.setDirectedEdges(DirectedEdge
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
Sets this DirectedEdge's symmetric DirectedEdge, which runs in the opposite direction.
|
| Constructor and Description | |
|---|---|
Edge(DirectedEdge
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.
|