com.vividsolutions.jcs.conflate.roads
Class RoadNetwork

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

public class RoadNetwork
extends java.lang.Object

Models a network of roads.


Constructor Summary
RoadNetwork(com.vividsolutions.jump.feature.FeatureCollection linesFC)
           
 
Method Summary
 RoadEdge addEdge(com.vividsolutions.jts.geom.LineString line, java.util.Collection featColl)
           
 RoadNode closestNodeWithinDistance(com.vividsolutions.jts.geom.Coordinate pt, double maxDist)
           
 java.util.Iterator edgeIterator()
           
 java.util.List getEdges()
           
 com.vividsolutions.jump.feature.FeatureCollection getEdgesFC()
           
 void index()
           
 java.util.List nodesWithinDistance(com.vividsolutions.jts.geom.Coordinate pt, double dist)
           
 com.vividsolutions.jump.feature.FeatureCollection OLDgetUnmatchedEdgeFC()
           
 java.util.List query(RoadEdge edge, double distance)
           
 void remove(RoadEdge edge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoadNetwork

public RoadNetwork(com.vividsolutions.jump.feature.FeatureCollection linesFC)
Method Detail

getEdgesFC

public com.vividsolutions.jump.feature.FeatureCollection getEdgesFC()

OLDgetUnmatchedEdgeFC

public com.vividsolutions.jump.feature.FeatureCollection OLDgetUnmatchedEdgeFC()

index

public void index()

edgeIterator

public java.util.Iterator edgeIterator()

getEdges

public java.util.List getEdges()

remove

public void remove(RoadEdge edge)

addEdge

public RoadEdge addEdge(com.vividsolutions.jts.geom.LineString line,
                        java.util.Collection featColl)

query

public java.util.List query(RoadEdge edge,
                            double distance)

closestNodeWithinDistance

public RoadNode closestNodeWithinDistance(com.vividsolutions.jts.geom.Coordinate pt,
                                          double maxDist)

nodesWithinDistance

public java.util.List nodesWithinDistance(com.vividsolutions.jts.geom.Coordinate pt,
                                          double dist)