Package org.openstreetmap.josm.data.gpx
Class GpxDistance
java.lang.Object
org.openstreetmap.josm.data.gpx.GpxDistance
A class to find the distance between an
OsmPrimitive and a GPX point.- Since:
- 14802
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doublegetLowestDistance(OsmPrimitive p, GpxData gpxData) Find the distance between a point and a dataset of surveyed points
-
Constructor Details
-
GpxDistance
private GpxDistance()
-
-
Method Details
-
getLowestDistance
Find the distance between a point and a dataset of surveyed points- Parameters:
p- OsmPrimitive from which to get the lowest distance to a GPX pointgpxData- Data from which to get the GPX points- Returns:
- The shortest distance
-