com.vividsolutions.jcs.conflate.roads
Class EdgesMatcher

java.lang.Object
  extended bycom.vividsolutions.jcs.conflate.roads.EdgesMatcher

public class EdgesMatcher
extends java.lang.Object


Constructor Summary
EdgesMatcher()
           
 
Method Summary
 void match(RoadMatcher roadMatcher)
           
 void matchDanglingOrInlineEdges(RoadMatcher roadMatcher)
          Matches edges which have one matched node and in which the other node is "dangling" or "inline".
 void matchEdgesWithBothNodesMatchingSameEdge(RoadMatcher roadMatcher)
          Matches edges for which there is a match for both nodes
 void matchEdgesWithNodesMatchingAdjacentEdges(RoadMatcher roadMatcher, int index)
          Matches edges for which there is a match for both nodes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdgesMatcher

public EdgesMatcher()
Method Detail

match

public void match(RoadMatcher roadMatcher)

matchEdgesWithBothNodesMatchingSameEdge

public void matchEdgesWithBothNodesMatchingSameEdge(RoadMatcher roadMatcher)
Matches edges for which there is a match for both nodes

Parameters:
roadMatcher -

matchEdgesWithNodesMatchingAdjacentEdges

public void matchEdgesWithNodesMatchingAdjacentEdges(RoadMatcher roadMatcher,
                                                     int index)
Matches edges for which there is a match for both nodes

Parameters:
roadMatcher -

matchDanglingOrInlineEdges

public void matchDanglingOrInlineEdges(RoadMatcher roadMatcher)
Matches edges which have one matched node and in which the other node is "dangling" or "inline". (Dangling edges have a node of degree 1; inline edges have a node of degree 2)