public class WayToEdgeConverter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WayToEdgeConverter.EdgeResult |
static class |
WayToEdgeConverter.NodeResult |
Constructor and Description |
---|
WayToEdgeConverter(BaseGraph baseGraph,
LongFunction<Iterator<com.carrotsearch.hppc.cursors.IntCursor>> edgesByWay) |
Modifier and Type | Method and Description |
---|---|
WayToEdgeConverter.NodeResult |
convertForViaNode(com.carrotsearch.hppc.LongArrayList fromWays,
int viaNode,
com.carrotsearch.hppc.LongArrayList toWays)
Finds the edge IDs associated with the given OSM ways that are adjacent to the given via-node.
|
WayToEdgeConverter.EdgeResult |
convertForViaWays(com.carrotsearch.hppc.LongArrayList fromWays,
com.carrotsearch.hppc.LongArrayList viaWays,
com.carrotsearch.hppc.LongArrayList toWays)
Finds the edge IDs associated with the given OSM ways that are adjacent to each other.
|
public WayToEdgeConverter(BaseGraph baseGraph, LongFunction<Iterator<com.carrotsearch.hppc.cursors.IntCursor>> edgesByWay)
public WayToEdgeConverter.NodeResult convertForViaNode(com.carrotsearch.hppc.LongArrayList fromWays, int viaNode, com.carrotsearch.hppc.LongArrayList toWays) throws OSMRestrictionException
OSMRestrictionException
OSMRestrictionException
public WayToEdgeConverter.EdgeResult convertForViaWays(com.carrotsearch.hppc.LongArrayList fromWays, com.carrotsearch.hppc.LongArrayList viaWays, com.carrotsearch.hppc.LongArrayList toWays) throws OSMRestrictionException
OSMRestrictionException
Copyright © 2012–2022. All rights reserved.