Class LatitudeBand


  • public class LatitudeBand
    extends Object
    Latitude (horizontal) band
    Author:
    osbornb
    • Constructor Detail

      • LatitudeBand

        public LatitudeBand​(char letter,
                            double south,
                            double north)
        Constructor
        Parameters:
        letter - band letter
        south - southern latitude
        north - northern latitude
    • Method Detail

      • getLetter

        public char getLetter()
        Get the band letter
        Returns:
        band letter
      • setLetter

        public void setLetter​(char letter)
        Set the band letter
        Parameters:
        letter - band letter
      • getSouth

        public double getSouth()
        Get the southern latitude
        Returns:
        southern latitude
      • setSouth

        public void setSouth​(double south)
        Set the southern latitude
        Parameters:
        south - southern latitude
      • getNorth

        public double getNorth()
        Get the northern latitude
        Returns:
        northern latitude
      • setNorth

        public void setNorth​(double north)
        Set the northern latitude
        Parameters:
        north - northern latitude
      • getHemisphere

        public Hemisphere getHemisphere()
        Get the hemisphere
        Returns:
        hemisphere