Class GpxDistance


  • public final class GpxDistance
    extends java.lang.Object
    A class to find the distance between an OsmPrimitive and a GPX point.
    Since:
    14802
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private GpxDistance()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static double getLowestDistance​(OsmPrimitive p, GpxData gpxData)
      Find the distance between a point and a dataset of surveyed points
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getLowestDistance

        public static double getLowestDistance​(OsmPrimitive p,
                                               GpxData gpxData)
        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 point
        gpxData - Data from which to get the GPX points
        Returns:
        The shortest distance