| Package | Description |
|---|---|
| com.graphhopper.util |
| Modifier and Type | Method and Description |
|---|---|
DouglasPeucker |
DouglasPeucker.setMaxDistance(double dist)
maximum distance of discrepancy (from the normal way) in meter
|
| Modifier and Type | Method and Description |
|---|---|
PathMerger |
PathMerger.setDouglasPeucker(DouglasPeucker douglasPeucker) |
static void |
PathSimplification.simplify(PointList pointList,
List<com.graphhopper.util.PathSimplification.Partition> partitions,
DouglasPeucker douglasPeucker) |
static PointList |
PathSimplification.simplify(ResponsePath responsePath,
DouglasPeucker douglasPeucker,
boolean enableInstructions)
Convenience method used to obtain the partitions from a calculated path with details and instructions
|
Copyright © 2012–2020. All rights reserved.