public class MatchResult extends Object
| Constructor and Description |
|---|
MatchResult(List<EdgeMatch> edgeMatches) |
| Modifier and Type | Method and Description |
|---|---|
List<EdgeMatch> |
getEdgeMatches()
All possible assigned edges.
|
double |
getGpxEntriesLength()
Length of the original GPX track in meters
|
com.graphhopper.storage.Graph |
getGraph() |
double |
getMatchLength()
Length of the map-matched route in meters
|
long |
getMatchMillis()
Duration of the map-matched route in milliseconds
|
com.graphhopper.routing.Path |
getMergedPath() |
com.graphhopper.routing.weighting.Weighting |
getWeighting() |
void |
setEdgeMatches(List<EdgeMatch> edgeMatches) |
void |
setGPXEntriesLength(double gpxEntriesLength) |
void |
setGPXEntriesMillis(long gpxEntriesMillis) |
void |
setGraph(com.graphhopper.storage.Graph graph) |
void |
setMatchLength(double matchLength) |
void |
setMatchMillis(long matchMillis) |
void |
setMergedPath(com.graphhopper.routing.Path mergedPath) |
void |
setWeighting(com.graphhopper.routing.weighting.Weighting weighting) |
String |
toString() |
public void setGPXEntriesLength(double gpxEntriesLength)
public void setGPXEntriesMillis(long gpxEntriesMillis)
public void setMatchLength(double matchLength)
public void setMatchMillis(long matchMillis)
public void setMergedPath(com.graphhopper.routing.Path mergedPath)
public double getGpxEntriesLength()
public double getMatchLength()
public long getMatchMillis()
public com.graphhopper.routing.Path getMergedPath()
public com.graphhopper.routing.weighting.Weighting getWeighting()
public void setWeighting(com.graphhopper.routing.weighting.Weighting weighting)
public com.graphhopper.storage.Graph getGraph()
public void setGraph(com.graphhopper.storage.Graph graph)
Copyright © 2012–2020. All rights reserved.