public class SimpleStreetSplitter extends Object
Modifier and Type | Field and Description |
---|---|
static double |
DUPLICATE_WAY_EPSILON_METERS
if there are two ways and the distances to them differ by less than this value, we link to both of them
|
static int |
MAX_SEARCH_RADIUS_METERS |
Constructor and Description |
---|
SimpleStreetSplitter(Graph graph)
Construct a new SimpleStreetSplitter.
|
Modifier and Type | Method and Description |
---|---|
void |
link()
Link all relevant vertices to the street network
|
boolean |
link(Vertex vertex)
Link this vertex into the graph
|
public static final int MAX_SEARCH_RADIUS_METERS
public static final double DUPLICATE_WAY_EPSILON_METERS
public SimpleStreetSplitter(Graph graph)
graph
- public void link()
public boolean link(Vertex vertex)
Copyright © 2015. All rights reserved.