Uses of Interface
com.graphhopper.util.DistanceCalc
Packages that use DistanceCalc
Package
Description
-
Uses of DistanceCalc in com.graphhopper.reader.dem
Methods in com.graphhopper.reader.dem with parameters of type DistanceCalcModifier and TypeMethodDescriptionstatic PointList
EdgeSampling.sample
(PointList input, double maxDistance, DistanceCalc distCalc, ElevationProvider elevation) -
Uses of DistanceCalc in com.graphhopper.routing.weighting
Methods in com.graphhopper.routing.weighting with parameters of type DistanceCalcModifier and TypeMethodDescriptionBeelineWeightApproximator.setDistanceCalc
(DistanceCalc distanceCalc) -
Uses of DistanceCalc in com.graphhopper.storage.index
Methods in com.graphhopper.storage.index with parameters of type DistanceCalcModifier and TypeMethodDescriptionvoid
Snap.calcSnappedPoint
(DistanceCalc distCalc) Calculates the closest point on the edge from the query point. -
Uses of DistanceCalc in com.graphhopper.util
Classes in com.graphhopper.util that implement DistanceCalcModifier and TypeClassDescriptionclass
This class implements a rather quick solution to calculate 3D distances on earth using euclidean geometry mixed with Haversine formula used for the on earth distance.class
class
Calculates the distance of two points or one point and an edge in euclidean space.class
Calculates the approximate distance of two points on earth. -
Uses of DistanceCalc in com.graphhopper.util.shapes
Constructors in com.graphhopper.util.shapes with parameters of type DistanceCalcModifierConstructorDescriptionCircle
(double lat, double lon, double radiusInMeter, DistanceCalc calc)