Package mil.nga.mgrs.gzd
Class LatitudeBand
- java.lang.Object
-
- mil.nga.mgrs.gzd.LatitudeBand
-
public class LatitudeBand extends Object
Latitude (horizontal) band- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description LatitudeBand(char letter, double south, double north)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Hemisphere
getHemisphere()
Get the hemispherechar
getLetter()
Get the band letterdouble
getNorth()
Get the northern latitudedouble
getSouth()
Get the southern latitudevoid
setLetter(char letter)
Set the band lettervoid
setNorth(double north)
Set the northern latitudevoid
setSouth(double south)
Set the southern 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
-
-