gov.noaa.pmel.util
Class GeographicValue
java.lang.Object
|
+--gov.noaa.pmel.util.GeographicValue
- Direct Known Subclasses:
- Latitude, Longitude
- public class GeographicValue
- extends java.lang.Object
Base class used by LatitudeValue and LongitudeValue for translating between
a float and deg/min/sec.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GeographicValue
public GeographicValue()
GeographicValue
public GeographicValue(float decVal)
decimalToDegMinSec
public void decimalToDegMinSec()
degMinSecToDecimal
public void degMinSecToDecimal()
setDegrees
public void setDegrees(int degrees)
setMinutes
public void setMinutes(int minutes)
setSeconds
public void setSeconds(int seconds)
setSign
public void setSign(int sign)
setDecimalValue
public void setDecimalValue(float decimalValue)
getDegrees
public int getDegrees()
getMinutes
public int getMinutes()
getSeconds
public int getSeconds()
getSign
public int getSign()
getDecimalValue
public float getDecimalValue()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
main
public static void main(java.lang.String[] args)
Send comments about the Scientific Graphics toolkit to Donald.W.Denbo@noaa.gov. For more information about Java Development in the EPIC Group see the EPIC Software Page
Generated on October 9 2003