Package gaiasky.util
Class Nature
- java.lang.Object
-
- gaiasky.util.Nature
-
public class Nature extends java.lang.ObjectThis 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_PCKilometres to parsecsstatic 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()
-
-
-
Field Detail
-
TO_RAD
public static final double TO_RAD
Degrees to radians- See Also:
- Constant Field Values
-
TO_DEG
public static final double TO_DEG
Radians to degrees- See Also:
- Constant Field Values
-
DEG_TO_ARCSEC
public static final double DEG_TO_ARCSEC
Degrees to arcseconds- See Also:
- Constant Field Values
-
ARCSEC_TO_DEG
public static final double ARCSEC_TO_DEG
Arcseconds 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_KM
Parsecs to kilometres- See Also:
- Constant Field Values
-
KM_TO_PC
public static final double KM_TO_PC
Kilometres to parsecs- See Also:
- Constant Field Values
-
PC_TO_M
public static final double PC_TO_M
Parsecs to metres- See Also:
- Constant Field Values
-
M_TO_PC
public static final double M_TO_PC
Metres to parsecs- See Also:
- Constant Field Values
-
AU_TO_KM
public static final double AU_TO_KM
Astronomical units to kilometres- See Also:
- Constant Field Values
-
KM_TO_AU
public static final double KM_TO_AU
Kilometres to astronomical units- See Also:
- Constant Field Values
-
S_TO_MS
public static final double S_TO_MS
Seconds to milliseconds- See Also:
- Constant Field Values
-
H_TO_S
public static final double H_TO_S
Hours to seconds- See Also:
- Constant Field Values
-
S_TO_H
public static final double S_TO_H
Seconds to hours- See Also:
- Constant Field Values
-
H_TO_MS
public static final double H_TO_MS
Hours to milliseconds- See Also:
- Constant Field Values
-
MS_TO_H
public static final double MS_TO_H
Milliseconds to hours- See Also:
- Constant Field Values
-
D_TO_S
public static final double D_TO_S
Days to seconds- See Also:
- Constant Field Values
-
S_TO_D
public static final double S_TO_D
Seconds to days- See Also:
- Constant Field Values
-
D_TO_MS
public static final double D_TO_MS
Days to milliseconds- See Also:
- Constant Field Values
-
MS_TO_D
public static final double MS_TO_D
Milliseconds to days- See Also:
- Constant Field Values
-
D_TO_NS
public static final double D_TO_NS
Days to nanoseconds- See Also:
- Constant Field Values
-
NS_TO_D
public static final double NS_TO_D
Nanoseconds to days- See Also:
- Constant Field Values
-
Y_TO_S
public static final double Y_TO_S
Years to seconds- See Also:
- Constant Field Values
-
S_TO_Y
public static final double S_TO_Y
Seconds to years- See Also:
- Constant Field Values
-
Y_TO_MS
public static final double Y_TO_MS
Years to milliseconds- See Also:
- Constant Field Values
-
MS_TO_Y
public static final double MS_TO_Y
Milliseconds to year- See Also:
- Constant Field Values
-
MIN_TO_S
public static final double MIN_TO_S
Minutes to seconds- See Also:
- Constant Field Values
-
-