|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cfa.vo.iris.utils.SkyCoordinates
public class SkyCoordinates
Utility class that provides static method for parsing HMS and DMS string coordinates.
Constructor Summary | |
---|---|
SkyCoordinates()
|
Method Summary | |
---|---|
static Double |
getDecDeg(String dec)
Get the decimal degrees representation of a DEC string. |
static String |
getDecDegString(String dec)
Return the decimal degrees representation of a DEC string, as a string. |
static Double |
getRaDeg(String ra)
Get the decimal degrees representation of a RA string. |
static String |
getRaDegString(String ra)
Return the decimal degrees representation of a RA string, as a string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SkyCoordinates()
Method Detail |
---|
public static Double getRaDeg(String ra)
ra
- A string representing the RA coordinate.
public static Double getDecDeg(String dec)
ra
- A string representing the DEC coordinate.
public static String getRaDegString(String ra)
ra
- A string representing the RA coordinate.
public static String getDecDegString(String dec)
ra
- A string representing the DEC coordinate.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |