Class Graticule


  • public final class Graticule
    extends NativeObjectContainer
    The network of intersecting lines of latitude and longitude is called the graticule.
    It is imaginary on the earth, of course, but is drawn on globes and maps for reference.
    The graticule of latitude and longitude lines is an angular measurement system.
    Author:
    Andrea "Stock" Stocchero
    • Constructor Detail

      • Graticule

        public Graticule()
        Creates a graticule object.
    • Method Detail

      • setStepMajor

        public void setStepMajor​(double start,
                                 double end)
        Sets the graticule lines distances in degrees.
        Parameters:
        start - the start graticule line distance in degrees
        end - the end graticule line distance in degrees
      • getStepMajor

        public List<Double> getStepMajor()
        Returns the graticule lines distances in degrees. Only 2 values are allowed.
        Returns:
        the graticule lines distances in degrees
      • setStepMinor

        public void setStepMinor​(double start,
                                 double end)
        Sets the graticule lines distances in degrees. Only 2 values are allowed.
        Parameters:
        start - the start graticule line distance in degrees
        end - the end graticule line distance in degrees
      • getStepMinor

        public List<Double> getStepMinor()
        Returns the graticule lines distances in degrees. Only 2 values are allowed.
        Returns:
        the graticule lines distances in degrees