public class DefaultEdgeFilter extends Object implements EdgeFilter
ALL_EDGES| Constructor and Description |
|---|
DefaultEdgeFilter(FlagEncoder encoder)
Creates an edges filter which accepts both direction of the specified vehicle.
|
DefaultEdgeFilter(FlagEncoder encoder,
boolean bwd,
boolean fwd) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(EdgeIteratorState iter) |
boolean |
acceptsBackward() |
boolean |
acceptsForward() |
String |
toString() |
public DefaultEdgeFilter(FlagEncoder encoder)
public DefaultEdgeFilter(FlagEncoder encoder, boolean bwd, boolean fwd)
public final boolean accept(EdgeIteratorState iter)
accept in interface EdgeFilterpublic boolean acceptsBackward()
public boolean acceptsForward()
Copyright © 2012–2018. All rights reserved.