private double GetDeltaValueForComparisons(
     CoordinateReferenceSystemUnit coordinateReferenceSystemUnit,
     int epsgNumberUsedOnlyInErrorMessage
 ) {
     if(coordinateReferenceSystemUnit == CoordinateReferenceSystemUnit.DEGREES) {
         return DELTA_VALUE_FOR_COMPARISONS_WITH_UNIT_DEGREES;
     }
     else if(coordinateReferenceSystemUnit == CoordinateReferenceSystemUnit.METERS) {
         return DELTA_VALUE_FOR_COMPARISONS_WITH_UNIT_METER;
     }
     else { // if(coordinateReferenceSystemUnit == CoordinateReferenceSystemUnit.UNKNOWN) {
         throw new ArgumentException("Not supported epsg number: " + epsgNumberUsedOnlyInErrorMessage);
     }
 }
 private double GetDeltaValueForComparisons(
     int epsgNumber
 ) {
     CoordinateReferenceSystemUnit coordinateReferenceSystemUnit = CoordinateReferenceSystemUnit.UNKNOWN;
     if(epsgNumber == epsgNumberForWgs84) {
         coordinateReferenceSystemUnit = CoordinateReferenceSystemUnit.DEGREES;
     }
     // sweref : 3006 - 3018
     // RT90 :   3019 - 3024
     else if( // if(epsgNumber >= 3006 && epsgNumber <= 3024)
         lowerEpsgIntervalForSwedishProjectionsUsingMeterAsUnit <= epsgNumber
         &&
         epsgNumber <= upperEpsgIntervalForSwedishProjectionsUsingMeterAsUnit
     ) {
         coordinateReferenceSystemUnit = CoordinateReferenceSystemUnit.METERS;
     }
     return GetDeltaValueForComparisons(coordinateReferenceSystemUnit, epsgNumber);
 }