hydroScalingAPI.tools
Class DMSToDegrees

java.lang.Object
  extended by hydroScalingAPI.tools.DMSToDegrees

public abstract class DMSToDegrees
extends java.lang.Object

An abstract class to manipulate tranformations of string representation of geographic coordinates to values in degrees

Author:
Ricardo Mantilla

Constructor Summary
DMSToDegrees()
           
 
Method Summary
static double getDegrees(java.lang.String GMS)
          A method for tranforming a string representation into a double
static java.lang.Double getDoubleDegrees(java.lang.String GMS)
          A method for tranforming a string representation into a Double object
static void main(java.lang.String[] args)
          Tests for the class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DMSToDegrees

public DMSToDegrees()
Method Detail

getDegrees

public static double getDegrees(java.lang.String GMS)
A method for tranforming a string representation into a double

Parameters:
GMS - The string to be processed
Returns:
The double value

getDoubleDegrees

public static java.lang.Double getDoubleDegrees(java.lang.String GMS)
A method for tranforming a string representation into a Double object

Parameters:
GMS - The string to be processed
Returns:
The Double object

main

public static void main(java.lang.String[] args)
Tests for the class

Parameters:
args - The command line arguments


CUENCAS was initially developed by Ricardo Mantilla at the University of Colorado under the supervision of Dr. Vijay K. Gupta. We wish to recognize the support from the National Science Fundation.