public class ASTMisc
extends java.lang.Object
Defines miscellaneous constants that are used throughout the programs. They are collected here to ensure uniformity across all the programs.
Copyright (c) 2018
Modifier and Type | Field and Description |
---|---|
static boolean |
ABORT_PROG
Whether to abort the program if an error is detected
|
static boolean |
ASCENDING_ORDER
Sort lists in ascending order
|
static double |
AST_UNDEFINED
Value indicating that something is undefined
|
static boolean |
DECFORMAT
Display time/angles in decimal format
|
static double |
DEFAULT_EPOCH
Default Epoch to use when none is specified.
|
static boolean |
DESCENDING_ORDER
Sort lists in descending order
|
static boolean |
DMSFORMAT
Display angles in DMS format
|
static boolean |
HIDE_ERRORS
Don't show errors when doing validations.
|
static boolean |
HMSFORMAT
Display time in HMS format
|
static int |
MAX_OBJS_TO_PLOT
max number of objects to plot
|
static double |
mV_10INCH
Approximate visual magnitude limit for objects visible with a 10-inch telescope
|
static double |
mV_BINOCULARS
Approximate visual magnitude limit for objects visible with binoculars
|
static double |
mV_NAKED_EYE
Approximate visual magnitude limit for objects visible with the naked eye
|
static int |
mV0RADIUS
radius when vis magnitude is 0
|
static int |
mVMAX_RADIUS
max radius for any vis magnitude
|
static int |
mVMIN_RADIUS
min radius for any vis magnitude
|
static boolean |
NEG_DIRECTION
Direction is negative (e.g., South, West)
|
static int |
OBJS_LIMIT
max # of objects before worrying about needing to pause
|
static boolean |
POS_DIRECTION
Direction is positive (e.g., North, East)
|
static boolean |
SHOW_ERRORS
Show errors when doing validations.
|
static double |
UNKNOWN_mV
Value to use when the visual magnitude is unknown
|
static double |
UNKNOWN_RA_DECL
Value to use when RA or Decl is unknown.
|
Constructor and Description |
---|
ASTMisc() |
public static final boolean ABORT_PROG
public static final boolean SHOW_ERRORS
public static final boolean HIDE_ERRORS
public static final boolean HMSFORMAT
public static final boolean DMSFORMAT
public static final boolean DECFORMAT
public static final boolean POS_DIRECTION
public static final boolean NEG_DIRECTION
public static final boolean ASCENDING_ORDER
public static final boolean DESCENDING_ORDER
public static final double AST_UNDEFINED
public static final double DEFAULT_EPOCH
public static final double UNKNOWN_RA_DECL
public static final double UNKNOWN_mV
public static final double mV_NAKED_EYE
public static final double mV_BINOCULARS
public static final double mV_10INCH
public static final int mV0RADIUS
public static final int mVMAX_RADIUS
public static final int mVMIN_RADIUS
public static final int MAX_OBJS_TO_PLOT
public static final int OBJS_LIMIT