Class CoordCalculator

java.lang.Object
ca.uhn.fhir.jpa.util.CoordCalculator

public class CoordCalculator extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.hibernate.search.engine.spatial.GeoBoundingBox
    getBox(double theLatitudeDegrees, double theLongitudeDegrees, Double theDistanceKm)
    Find a box around my coordinates such that the closest distance to each edge is the provided distance

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • getBox

      public static org.hibernate.search.engine.spatial.GeoBoundingBox getBox(double theLatitudeDegrees, double theLongitudeDegrees, Double theDistanceKm)
      Find a box around my coordinates such that the closest distance to each edge is the provided distance
      Returns: