Class GeopointNormalizer
java.lang.Object
ca.uhn.fhir.jpa.searchparam.extractor.GeopointNormalizer
This class fully and unabashedly stolen from Hibernate search 5.11.4 FINAL's implementation as it was stripped in HS6
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic double
normalizeLatitude
(double latitude) static double
normalizeLongitude
(double longitude) static double
normalizeLongitudeInclusive
(double longitude)
-
Constructor Details
-
GeopointNormalizer
public GeopointNormalizer()
-
-
Method Details
-
normalizeLongitude
-
normalizeLongitudeInclusive
-
normalizeLatitude
- Parameters:
latitude
- in degrees- Returns:
- latitude normalized in [-90;+90]
-