Package gaia.cu9.ari.gaiaorbit.util
Class Constants
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.util.Constants
-
public class Constants extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static double
AU_TO_U
AU to local units conversion.static double
C
Speed of light in m/sstatic double
C_KMH
Speed of light in km/hstatic double
C_US
Speed of light in internal units per secondstatic float
CAMERA_SPEED_FACTOR
Camera speed factorstatic double
KM_MULTIPLIER
Multiplier for all KM values in the applicationstatic double
KM_TO_U
Kilometre to local unit conversion.static double
KPC_TO_U
Kiloparsec to local unit conversion.static double
M_TO_U
Metre to local unit conversion.static float
MAX_BRIGHTNESS
static float
MAX_CONTRAST
static float
MAX_ELEVATION_MULT
static float
MAX_EXPOSURE
static int
MAX_FOV
Maximum fov value, in degreesstatic float
MAX_GAMMA
static float
MAX_HUE
static float
MAX_LABEL_SIZE
static float
MAX_LOD_TRANS_ANGLE_DEG
Maximum angle where the LOD transitions endstatic int
MAX_MOTION_BLUR
Max motion blur valuestatic float
MAX_PM_LEN_FACTOR
Maximum length factor for proper motion vectorsstatic float
MAX_PM_NUM_FACTOR
Maximum number factor for proper motion vectorsstatic float
MAX_ROT_SPEED
Maximum rotation speedstatic float
MAX_SATURATION
static float
MAX_SC_RESPONSIVENESS
Maximum spacecraft responsivenessstatic float
MAX_SLIDER
Maximum generic slider valuestatic float
MAX_STAR_BRIGHT
Maximum star brightnessstatic float
MAX_STAR_MIN_OPACITY
Maximum star minimum opacitystatic float
MAX_STAR_POINT_SIZE
Maximum star pixel sizestatic float
MAX_TESS_QUALITY
static long
MAX_TIME_MS
static float
MAX_TURN_SPEED
Maximum turning speedstatic long
MAX_VSOP_TIME_MS
static double
MAX_WARP
static float
MIN_BRIGHTNESS
static float
MIN_CONTRAST
static float
MIN_ELEVATION_MULT
static float
MIN_EXPOSURE
static int
MIN_FOV
Minimum fov value, in degreesstatic float
MIN_GAMMA
static float
MIN_HUE
static float
MIN_LABEL_SIZE
static float
MIN_LOD_TRANS_ANGLE_DEG
Minimum angle where the LOD transitions startstatic float
MIN_PM_LEN_FACTOR
Minimum length factor for proper motion vectorsstatic float
MIN_PM_NUM_FACTOR
Minimum number factor for proper motion vectorsstatic float
MIN_ROT_SPEED
Minimum rotation speedstatic float
MIN_SATURATION
static float
MIN_SC_RESPONSIVENESS
Minimum spacecraft responsivenessstatic float
MIN_SLIDER
Minimum generic slider valuestatic float
MIN_SLIDER_1
Minimum generic slider value (1)static float
MIN_STAR_BRIGHT
Minimum star brightnessstatic float
MIN_STAR_MIN_OPACITY
Minimum star minimum opacitystatic float
MIN_STAR_POINT_SIZE
Minimum star pixel sizestatic float
MIN_TESS_QUALITY
static long
MIN_TIME_MS
static float
MIN_TURN_SPEED
Minimum turning speedstatic long
MIN_VSOP_TIME_MS
static double
MIN_WARP
static float
MOTION_BLUR_VALUE
Motion blur valuestatic double
MPC_TO_U
Megaparsec to local unit conversion.static double
PC_TO_U
Parsec to local unit conversion.static double
Ro_TO_KM
Solar radius in Kmstatic double
Ro_TO_U
Solar radius to local unitsstatic double
SCENE_SCALE_FACTOR
Scale factor that applies to all distances.static double
SOLAR_SYSTEM_THRESHOLD
Distance from Sun that marks the end of the solar systemstatic double
STAR_SIZE_FACTOR
Factor we need to use to get the real size of the star given its quad *texture* sizestatic double
STAR_SIZE_FACTOR_INV
static float
STEP_STAR_POINT_SIZE
Step to increase/decreasestatic double
THRESHOLD_DOWN
Threshold radius/distance where star size remains constant.static double
THRESHOLD_UP
static double
U_TO_AU
Local unit to AU conversion.static double
U_TO_KM
Local unit to km conversion.static double
U_TO_KPC
Local unit to Kpc conversion.static double
U_TO_M
Local unit to m conversion.static double
U_TO_PC
Local unit to pc conversion.static double
U_TO_Ro
Units to solar radius
-
Constructor Summary
Constructors Constructor Description Constants()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
withinVSOPTime(long time)
Checks whether the given time is within the acceptable bounds of VSOP87 algorithms.
-
-
-
Field Detail
-
SCENE_SCALE_FACTOR
public static final double SCENE_SCALE_FACTOR
Scale factor that applies to all distances.- See Also:
- Constant Field Values
-
M_TO_U
public static final double M_TO_U
Metre to local unit conversion. Multiply this by all values in m.- See Also:
- Constant Field Values
-
U_TO_M
public static final double U_TO_M
Local unit to m conversion.- See Also:
- Constant Field Values
-
KM_TO_U
public static final double KM_TO_U
Kilometre to local unit conversion. Multiply this by all values in Km.- See Also:
- Constant Field Values
-
U_TO_KM
public static final double U_TO_KM
Local unit to km conversion.- See Also:
- Constant Field Values
-
AU_TO_U
public static final double AU_TO_U
AU to local units conversion.- See Also:
- Constant Field Values
-
U_TO_AU
public static final double U_TO_AU
Local unit to AU conversion.- See Also:
- Constant Field Values
-
PC_TO_U
public static final double PC_TO_U
Parsec to local unit conversion. Multiply this by all values in pc.- See Also:
- Constant Field Values
-
KPC_TO_U
public static final double KPC_TO_U
Kiloparsec to local unit conversion. Multiply this by all values in Kpc.- See Also:
- Constant Field Values
-
MPC_TO_U
public static final double MPC_TO_U
Megaparsec to local unit conversion. Multiply this by all values in Mpc.- See Also:
- Constant Field Values
-
U_TO_PC
public static final double U_TO_PC
Local unit to pc conversion.- See Also:
- Constant Field Values
-
U_TO_KPC
public static final double U_TO_KPC
Local unit to Kpc conversion.- See Also:
- Constant Field Values
-
C
public static final double C
Speed of light in m/s- See Also:
- Constant Field Values
-
C_KMH
public static final double C_KMH
Speed of light in km/h- See Also:
- Constant Field Values
-
C_US
public static final double C_US
Speed of light in internal units per second- See Also:
- Constant Field Values
-
Ro_TO_KM
public static final double Ro_TO_KM
Solar radius in Km- See Also:
- Constant Field Values
-
Ro_TO_U
public static final double Ro_TO_U
Solar radius to local units- See Also:
- Constant Field Values
-
U_TO_Ro
public static final double U_TO_Ro
Units to solar radius- See Also:
- Constant Field Values
-
KM_MULTIPLIER
public static final double KM_MULTIPLIER
Multiplier for all KM values in the application- See Also:
- Constant Field Values
-
SOLAR_SYSTEM_THRESHOLD
public static final double SOLAR_SYSTEM_THRESHOLD
Distance from Sun that marks the end of the solar system- See Also:
- Constant Field Values
-
STAR_SIZE_FACTOR
public static final double STAR_SIZE_FACTOR
Factor we need to use to get the real size of the star given its quad *texture* size- See Also:
- Constant Field Values
-
STAR_SIZE_FACTOR_INV
public static final double STAR_SIZE_FACTOR_INV
- See Also:
- Constant Field Values
-
THRESHOLD_DOWN
public static final double THRESHOLD_DOWN
Threshold radius/distance where star size remains constant.- See Also:
- Constant Field Values
-
THRESHOLD_UP
public static final double THRESHOLD_UP
- See Also:
- Constant Field Values
-
MIN_SLIDER
public static final float MIN_SLIDER
Minimum generic slider value- See Also:
- Constant Field Values
-
MIN_SLIDER_1
public static final float MIN_SLIDER_1
Minimum generic slider value (1)- See Also:
- Constant Field Values
-
MAX_SLIDER
public static final float MAX_SLIDER
Maximum generic slider value- See Also:
- Constant Field Values
-
MAX_MOTION_BLUR
public static final int MAX_MOTION_BLUR
Max motion blur value- See Also:
- Constant Field Values
-
MAX_FOV
public static final int MAX_FOV
Maximum fov value, in degrees- See Also:
- Constant Field Values
-
MIN_FOV
public static final int MIN_FOV
Minimum fov value, in degrees- See Also:
- Constant Field Values
-
MAX_ROT_SPEED
public static final float MAX_ROT_SPEED
Maximum rotation speed- See Also:
- Constant Field Values
-
MIN_ROT_SPEED
public static final float MIN_ROT_SPEED
Minimum rotation speed- See Also:
- Constant Field Values
-
MAX_TURN_SPEED
public static final float MAX_TURN_SPEED
Maximum turning speed- See Also:
- Constant Field Values
-
MIN_TURN_SPEED
public static final float MIN_TURN_SPEED
Minimum turning speed- See Also:
- Constant Field Values
-
MIN_STAR_BRIGHT
public static final float MIN_STAR_BRIGHT
Minimum star brightness- See Also:
- Constant Field Values
-
MAX_STAR_BRIGHT
public static final float MAX_STAR_BRIGHT
Maximum star brightness- See Also:
- Constant Field Values
-
MIN_PM_NUM_FACTOR
public static final float MIN_PM_NUM_FACTOR
Minimum number factor for proper motion vectors- See Also:
- Constant Field Values
-
MAX_PM_NUM_FACTOR
public static final float MAX_PM_NUM_FACTOR
Maximum number factor for proper motion vectors- See Also:
- Constant Field Values
-
MIN_PM_LEN_FACTOR
public static final float MIN_PM_LEN_FACTOR
Minimum length factor for proper motion vectors- See Also:
- Constant Field Values
-
MAX_PM_LEN_FACTOR
public static final float MAX_PM_LEN_FACTOR
Maximum length factor for proper motion vectors- See Also:
- Constant Field Values
-
MIN_LOD_TRANS_ANGLE_DEG
public static final float MIN_LOD_TRANS_ANGLE_DEG
Minimum angle where the LOD transitions start- See Also:
- Constant Field Values
-
MAX_LOD_TRANS_ANGLE_DEG
public static final float MAX_LOD_TRANS_ANGLE_DEG
Maximum angle where the LOD transitions end- See Also:
- Constant Field Values
-
MIN_STAR_POINT_SIZE
public static final float MIN_STAR_POINT_SIZE
Minimum star pixel size- See Also:
- Constant Field Values
-
MAX_STAR_POINT_SIZE
public static final float MAX_STAR_POINT_SIZE
Maximum star pixel size- See Also:
- Constant Field Values
-
STEP_STAR_POINT_SIZE
public static final float STEP_STAR_POINT_SIZE
Step to increase/decrease- See Also:
- Constant Field Values
-
MIN_SC_RESPONSIVENESS
public static final float MIN_SC_RESPONSIVENESS
Minimum spacecraft responsiveness- See Also:
- Constant Field Values
-
MAX_SC_RESPONSIVENESS
public static final float MAX_SC_RESPONSIVENESS
Maximum spacecraft responsiveness- See Also:
- Constant Field Values
-
MIN_STAR_MIN_OPACITY
public static final float MIN_STAR_MIN_OPACITY
Minimum star minimum opacity- See Also:
- Constant Field Values
-
MAX_STAR_MIN_OPACITY
public static final float MAX_STAR_MIN_OPACITY
Maximum star minimum opacity- See Also:
- Constant Field Values
-
MIN_BRIGHTNESS
public static final float MIN_BRIGHTNESS
- See Also:
- Constant Field Values
-
MAX_BRIGHTNESS
public static final float MAX_BRIGHTNESS
- See Also:
- Constant Field Values
-
MIN_CONTRAST
public static final float MIN_CONTRAST
- See Also:
- Constant Field Values
-
MAX_CONTRAST
public static final float MAX_CONTRAST
- See Also:
- Constant Field Values
-
MIN_HUE
public static final float MIN_HUE
- See Also:
- Constant Field Values
-
MAX_HUE
public static final float MAX_HUE
- See Also:
- Constant Field Values
-
MIN_SATURATION
public static final float MIN_SATURATION
- See Also:
- Constant Field Values
-
MAX_SATURATION
public static final float MAX_SATURATION
- See Also:
- Constant Field Values
-
MIN_GAMMA
public static final float MIN_GAMMA
- See Also:
- Constant Field Values
-
MAX_GAMMA
public static final float MAX_GAMMA
- See Also:
- Constant Field Values
-
MIN_EXPOSURE
public static final float MIN_EXPOSURE
- See Also:
- Constant Field Values
-
MAX_EXPOSURE
public static final float MAX_EXPOSURE
- See Also:
- Constant Field Values
-
MIN_LABEL_SIZE
public static final float MIN_LABEL_SIZE
- See Also:
- Constant Field Values
-
MAX_LABEL_SIZE
public static final float MAX_LABEL_SIZE
- See Also:
- Constant Field Values
-
MIN_ELEVATION_MULT
public static final float MIN_ELEVATION_MULT
- See Also:
- Constant Field Values
-
MAX_ELEVATION_MULT
public static final float MAX_ELEVATION_MULT
- See Also:
- Constant Field Values
-
MIN_TESS_QUALITY
public static final float MIN_TESS_QUALITY
- See Also:
- Constant Field Values
-
MAX_TESS_QUALITY
public static final float MAX_TESS_QUALITY
- See Also:
- Constant Field Values
-
MAX_TIME_MS
public static final long MAX_TIME_MS
- See Also:
- Constant Field Values
-
MIN_TIME_MS
public static final long MIN_TIME_MS
- See Also:
- Constant Field Values
-
MAX_VSOP_TIME_MS
public static final long MAX_VSOP_TIME_MS
- See Also:
- Constant Field Values
-
MIN_VSOP_TIME_MS
public static final long MIN_VSOP_TIME_MS
- See Also:
- Constant Field Values
-
MAX_WARP
public static final double MAX_WARP
- See Also:
- Constant Field Values
-
MIN_WARP
public static final double MIN_WARP
- See Also:
- Constant Field Values
-
CAMERA_SPEED_FACTOR
public static final float CAMERA_SPEED_FACTOR
Camera speed factor- See Also:
- Constant Field Values
-
MOTION_BLUR_VALUE
public static final float MOTION_BLUR_VALUE
Motion blur value- See Also:
- Constant Field Values
-
-
Method Detail
-
withinVSOPTime
public static boolean withinVSOPTime(long time)
Checks whether the given time is within the acceptable bounds of VSOP87 algorithms.- Parameters:
time
- The time as the number of milliseconds since January 1, 1970, 00:00:00 GMT.- Returns:
- Whether the given time is within the bounds of VSOP
-
-