|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjecthydroScalingAPI.tools.DegreesToDMS
public abstract class DegreesToDMS
An abstract class to manipulate tranformations of value representation of geographic coordinates to nicely formated string
| Field Summary | |
|---|---|
static int |
LATITUDE
The identifier for Latitude string |
static int |
LONGITUDE
The identifier for Longitude string |
| Constructor Summary | |
|---|---|
DegreesToDMS()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getprettyString(double degrees,
int type)
Takes in a double in degrees units and a type (0 for Latitude or 1 for Longitudes) and returns a formated string |
static java.lang.String |
getprettyString(float degrees,
int type)
Takes in a float in degrees units and a type (0 for Latitude or 1 for Longitudes) and returns a formated string |
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 |
| Field Detail |
|---|
public static int LATITUDE
public static int LONGITUDE
| Constructor Detail |
|---|
public DegreesToDMS()
| Method Detail |
|---|
public static java.lang.String getprettyString(double degrees,
int type)
degrees - The coordinate in degreestype - The orientation of the coordinate
public static java.lang.String getprettyString(float degrees,
int type)
degrees - The coordinate in degreestype - The orientation of the coordinate
public static void main(java.lang.String[] args)
args - The command line arguments
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.