| |
|
| java.lang.Object com.vividsolutions.jts.geomgraph.EdgeEnd com.vividsolutions.jts.geomgraph.DirectedEdge
DirectedEdge | public class DirectedEdge extends EdgeEnd (Code) | | version: 1.7 |
isForward | protected boolean isForward(Code) | | |
DirectedEdge | public DirectedEdge(Edge edge, boolean isForward)(Code) | | |
depthFactor | public static int depthFactor(int currLocation, int nextLocation)(Code) | | Computes the factor for the change in depth when moving from one location to another.
E.g. if crossing from the INTERIOR to the EXTERIOR the depth decreases, so the factor is -1
|
getDepth | public int getDepth(int position)(Code) | | |
getDepthDelta | public int getDepthDelta()(Code) | | |
getSym | public DirectedEdge getSym()(Code) | | Each Edge gives rise to a pair of symmetric DirectedEdges, in opposite
directions.
the DirectedEdge for the same Edge but in the opposite direction |
isForward | public boolean isForward()(Code) | | |
isInResult | public boolean isInResult()(Code) | | |
isInteriorAreaEdge | public boolean isInteriorAreaEdge()(Code) | | This is an interior Area edge if
- its label is an Area label for both Geometries
- and for each Geometry both sides are in the interior.
true if this is an interior Area edge |
isLineEdge | public boolean isLineEdge()(Code) | | This edge is a line edge if
- at least one of the labels is a line label
- any labels which are not line labels have all Locations = EXTERIOR
|
isVisited | public boolean isVisited()(Code) | | |
setDepth | public void setDepth(int position, int depthVal)(Code) | | |
setEdgeDepths | public void setEdgeDepths(int position, int depth)(Code) | | Set both edge depths. One depth for a given side is provided. The other is
computed depending on the Location transition and the depthDelta of the edge.
|
setInResult | public void setInResult(boolean isInResult)(Code) | | |
setVisited | public void setVisited(boolean isVisited)(Code) | | |
setVisitedEdge | public void setVisitedEdge(boolean isVisited)(Code) | | setVisitedEdge marks both DirectedEdges attached to a given Edge.
This is used for edges corresponding to lines, which will only
appear oriented in a single direction in the result.
|
|
|
|