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 double
ARCSEC_TO_DEG
Arcseconds to degreesstatic double
ARCSEC_TO_RAD
static double
AU_TO_KM
Astronomical units to kilometresstatic double
D_TO_MS
Days to millisecondsstatic double
D_TO_NS
Days to nanosecondsstatic double
D_TO_S
Days to secondsstatic double
DEG_TO_ARCSEC
Degrees to arcsecondsstatic double
DEG_TO_MILLARCSEC
static double
H_TO_MS
Hours to millisecondsstatic double
H_TO_S
Hours to secondsstatic double
KM_TO_AU
Kilometres to astronomical unitsstatic double
KM_TO_LY
Kilometers to light yearsstatic double
KM_TO_PC
Kilometres to parsecsstatic double
LY_TO_KM
Light years to kilometersstatic double
M_TO_PC
Metres to parsecsstatic double
MILLARCSEC_TO_DEG
static double
MILLARCSEC_TO_RAD
static double
MILLIARCSEC_TO_ARCSEC
static double
MIN_TO_S
Minutes to secondsstatic double
MS_TO_D
Milliseconds to daysstatic double
MS_TO_H
Milliseconds to hoursstatic double
MS_TO_Y
Milliseconds to yearstatic double
NS_TO_D
Nanoseconds to daysstatic double
PC_TO_KM
Parsecs to kilometresstatic double
PC_TO_M
Parsecs to metresstatic double
RAD_TO_MILLARCSEC
static double
S_TO_D
Seconds to daysstatic double
S_TO_H
Seconds to hoursstatic double
S_TO_MS
Seconds to millisecondsstatic double
S_TO_Y
Seconds to yearsstatic double
TO_DEG
Radians to degreesstatic double
TO_RAD
Degrees to radiansstatic double
Y_TO_MS
Years to millisecondsstatic double
Y_TO_S
Years 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()
-