Class GeopointNormalizer

java.lang.Object
ca.uhn.fhir.jpa.searchparam.extractor.GeopointNormalizer

public class GeopointNormalizer extends Object
This class fully and unabashedly stolen from Hibernate search 5.11.4 FINAL's implementation as it was stripped in HS6
  • Constructor Details

  • Method Details

    • normalizeLongitude

      public static double normalizeLongitude(double longitude)
    • normalizeLongitudeInclusive

      public static double normalizeLongitudeInclusive(double longitude)
    • normalizeLatitude

      public static double normalizeLatitude(double latitude)
      Parameters:
      latitude - in degrees
      Returns:
      latitude normalized in [-90;+90]