Package gaiasky.util
Class Nature
java.lang.Object
gaiasky.util.Nature
public class Nature
extends java.lang.Object
This class contains various unit conversion constants for
angles, distance and time units
-
Field Summary
Fields Modifier and Type Field Description static doubleARCSEC_TO_DEGArcseconds to degreesstatic doubleARCSEC_TO_RADstatic doubleAU_TO_KMAstronomical units to kilometresstatic doubleD_TO_MSDays to millisecondsstatic doubleD_TO_NSDays to nanosecondsstatic doubleD_TO_SDays to secondsstatic doubleDEG_TO_ARCSECDegrees to arcsecondsstatic doubleDEG_TO_MILLARCSECstatic doubleH_TO_MSHours to millisecondsstatic doubleH_TO_SHours to secondsstatic doubleKM_TO_AUKilometres to astronomical unitsstatic doubleKM_TO_LYKilometers to light yearsstatic doubleKM_TO_PCKilometres to parsecsstatic doubleLY_TO_KMLight years to kilometersstatic doubleM_TO_PCMetres to parsecsstatic doubleMILLARCSEC_TO_DEGstatic doubleMILLARCSEC_TO_RADstatic doubleMILLIARCSEC_TO_ARCSECstatic doubleMIN_TO_SMinutes to secondsstatic doubleMS_TO_DMilliseconds to daysstatic doubleMS_TO_HMilliseconds to hoursstatic doubleMS_TO_YMilliseconds to yearstatic doubleNS_TO_DNanoseconds to daysstatic doublePC_TO_KMParsecs to kilometresstatic doublePC_TO_MParsecs to metresstatic doubleRAD_TO_MILLARCSECstatic doubleS_TO_DSeconds to daysstatic doubleS_TO_HSeconds to hoursstatic doubleS_TO_MSSeconds to millisecondsstatic doubleS_TO_YSeconds to yearsstatic doubleTO_DEGRadians to degreesstatic doubleTO_RADDegrees to radiansstatic doubleY_TO_MSYears to millisecondsstatic doubleY_TO_SYears to seconds -
Constructor Summary
Constructors Constructor Description Nature() -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
TO_RAD
public static final double TO_RADDegrees to radians- See Also:
- Constant Field Values
-
TO_DEG
public static final double TO_DEGRadians to degrees- See Also:
- Constant Field Values
-
DEG_TO_ARCSEC
public static final double DEG_TO_ARCSECDegrees to arcseconds- See Also:
- Constant Field Values
-
ARCSEC_TO_DEG
public static final double ARCSEC_TO_DEGArcseconds to degrees- See Also:
- Constant Field Values
-
ARCSEC_TO_RAD
public static final double ARCSEC_TO_RAD- See Also:
- Constant Field Values
-
DEG_TO_MILLARCSEC
public static final double DEG_TO_MILLARCSEC- See Also:
- Constant Field Values
-
MILLARCSEC_TO_DEG
public static final double MILLARCSEC_TO_DEG- See Also:
- Constant Field Values
-
RAD_TO_MILLARCSEC
public static final double RAD_TO_MILLARCSEC- See Also:
- Constant Field Values
-
MILLARCSEC_TO_RAD
public static final double MILLARCSEC_TO_RAD- See Also:
- Constant Field Values
-
MILLIARCSEC_TO_ARCSEC
public static final double MILLIARCSEC_TO_ARCSEC- See Also:
- Constant Field Values
-
PC_TO_KM
public static final double PC_TO_KMParsecs to kilometres- See Also:
- Constant Field Values
-
KM_TO_PC
public static final double KM_TO_PCKilometres to parsecs- See Also:
- Constant Field Values
-
PC_TO_M
public static final double PC_TO_MParsecs to metres- See Also:
- Constant Field Values
-
M_TO_PC
public static final double M_TO_PCMetres to parsecs- See Also:
- Constant Field Values
-
AU_TO_KM
public static final double AU_TO_KMAstronomical units to kilometres- See Also:
- Constant Field Values
-
KM_TO_AU
public static final double KM_TO_AUKilometres to astronomical units- See Also:
- Constant Field Values
-
LY_TO_KM
public static final double LY_TO_KMLight years to kilometers- See Also:
- Constant Field Values
-
KM_TO_LY
public static final double KM_TO_LYKilometers to light years- See Also:
- Constant Field Values
-
S_TO_MS
public static final double S_TO_MSSeconds to milliseconds- See Also:
- Constant Field Values
-
H_TO_S
public static final double H_TO_SHours to seconds- See Also:
- Constant Field Values
-
S_TO_H
public static final double S_TO_HSeconds to hours- See Also:
- Constant Field Values
-
H_TO_MS
public static final double H_TO_MSHours to milliseconds- See Also:
- Constant Field Values
-
MS_TO_H
public static final double MS_TO_HMilliseconds to hours- See Also:
- Constant Field Values
-
D_TO_S
public static final double D_TO_SDays to seconds- See Also:
- Constant Field Values
-
S_TO_D
public static final double S_TO_DSeconds to days- See Also:
- Constant Field Values
-
D_TO_MS
public static final double D_TO_MSDays to milliseconds- See Also:
- Constant Field Values
-
MS_TO_D
public static final double MS_TO_DMilliseconds to days- See Also:
- Constant Field Values
-
D_TO_NS
public static final double D_TO_NSDays to nanoseconds- See Also:
- Constant Field Values
-
NS_TO_D
public static final double NS_TO_DNanoseconds to days- See Also:
- Constant Field Values
-
Y_TO_S
public static final double Y_TO_SYears to seconds- See Also:
- Constant Field Values
-
S_TO_Y
public static final double S_TO_YSeconds to years- See Also:
- Constant Field Values
-
Y_TO_MS
public static final double Y_TO_MSYears to milliseconds- See Also:
- Constant Field Values
-
MS_TO_Y
public static final double MS_TO_YMilliseconds to year- See Also:
- Constant Field Values
-
MIN_TO_S
public static final double MIN_TO_SMinutes to seconds- See Also:
- Constant Field Values
-
-
Constructor Details
-
Nature
public Nature()
-