public class StreetSegment extends Object
Modifier and Type | Field and Description |
---|---|
QualifiedMode |
mode |
List<StreetEdgeInfo> |
streetEdges |
int |
time |
Constructor and Description |
---|
StreetSegment(State state)
Build the walksteps from the final State of a path.
|
StreetSegment(StopAtDistance sd)
A StreetSegment is very similar to a StopAtDistance but it's a response object so the State has to be rendered into walksteps.
|
Modifier and Type | Method and Description |
---|---|
static List<StreetSegment> |
list(Collection<StopAtDistance> sds)
Make a collections of StreetSegments from a collection of StopAtDistance.
|
public QualifiedMode mode
public int time
public List<StreetEdgeInfo> streetEdges
public StreetSegment(State state)
public StreetSegment(StopAtDistance sd)
public static List<StreetSegment> list(Collection<StopAtDistance> sds)
Copyright © 2019. All rights reserved.