01: package JSci.astro;
02:
03: import JSci.physics.PhysicalConstants;
04:
05: /**
06: * A class defining common constants in astronomy.
07: * All values expressed in SI units.
08: * @version 1.0
09: * @author Silvere Martin-Michiellot
10: * @author Mark Hale
11: */
12: public interface AstronomicalConstants extends PhysicalConstants {
13: /**
14: * Length of an Astronomical Unit, in meters.
15: */
16: double AU = 149597870660.0;
17: /**
18: * Length of a parsec, in meters.
19: */
20: double PARSEC = 3.0856775807E+16;
21: /**
22: * Length of a (Gregorian) light year (defined), in meters.
23: */
24: double LIGHT_YEAR = 9460536207068016.0;
25: }
|