Class GeocoordPrecision


  • public class GeocoordPrecision
    extends java.lang.Object
    Author:
    ubaldino
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int digits
      # of decimal places in D.ddd...
      double precision
      +/- # of Meters of error
    • Method Summary

      Modifier and Type Method Description
      void setDigits​(int d)
      Augment number of digits in precision -- choose the maximum amount if in coord (a,b) if a has more digits of precision than b, use a's precision.
      • Methods inherited from class java.lang.Object

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

      • precision

        public double precision
        +/- # of Meters of error
      • digits

        public int digits
        # of decimal places in D.ddd... string for a lat or lon
    • Constructor Detail

      • GeocoordPrecision

        public GeocoordPrecision()
    • Method Detail

      • setDigits

        public void setDigits​(int d)
        Augment number of digits in precision -- choose the maximum amount if in coord (a,b) if a has more digits of precision than b, use a's precision. This is really only a matter of typos, where typist may have added 4 digits instead of 5, for example.
        Parameters:
        d -