public abstract class PointingModelOffset extends AbstractParameter implements Reloadable, ParameterDepending
PropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
private Value |
azimuth
The astronomical azimuth in degrees.
|
private static String |
DEFALTTARGET
The default name of the altitude parameter to use.
|
private static String |
DEFAZTARGET
Default azimuth offset.
|
static String |
DEFNAME
The default name of this value.
|
private Value |
height
The target height in degrees.
|
static String |
KEY_ALTTARGET
The name of the latitude to use.
|
static String |
KEY_AZTARGET
The offset in azimuth in degrees.
|
KEY_FORMAT, KEY_NAME, KEY_PRESERVE, UNKNOWNKEY_NOINITONCREATE, POSTFIX_ALPHABET, POSTFIX_BYTES, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_MODTIME, POSTFIX_URLKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASSKEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME| Modifier | Constructor and Description |
|---|---|
protected |
PointingModelOffset(Map<String,String> info)
Constructs a new constant offset parameter.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get()
Returns a string that can be used in ASCII versions of
InitialOffset |
double |
getAltitudeOffset()
Returns the fixed altitude offset.
|
double |
getAzimuthOffset()
Returns the fixed azimuth offset.
|
protected abstract double |
getPointingOffsetAltitude(double azdeg,
double hdeg)
Calculates the pointing model offset in altitude from astronomical
azimuth and
target height, both in degrees.
|
protected abstract double |
getPointingOffsetAzimuth(double azdeg,
double hdeg)
Calculates the pointing model offset in azimuth from astronomical azimuth
and
target height, both in degrees.
|
void |
registerParameter(Parameter what)
Registers the required additional globals for the pointing model offset
target.
|
double |
rescanned(String key,
String old,
String newval)
Makes this method public, no further changes.
|
Object |
set(Object to)
Not allowed.
|
createParameter, delivers, exit, getFormatted, getFormatted, getName, getPreserveFile, getString, getString, init, overrideDefaultName, register, setName, toStringclone, createFrom, createFrom, createFrom, createInstance, getApplet, getAsResources, getLocate, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, hasLocalURLs, initProperties, keyCreate, keyCreate, reload, setAppletaugment, augment, augment, augment, augment, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, isNew, parseObject, parseObject, reload, removeProperty, requires, setObject, setProperties, setProperty, stringPropertiesequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreloaddefaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringPropertiespublic static final String KEY_ALTTARGET
public static final String KEY_AZTARGET
public static final String DEFNAME
private static final String DEFAZTARGET
private static final String DEFALTTARGET
private Value height
private Value azimuth
public double rescanned(String key, String old, String newval)
rescanned in interface Reloadablerescanned in class AbstractParameterpublic void registerParameter(Parameter what)
registerParameter in interface ParameterDependingpublic Object get()
InitialOffsetpublic double getAzimuthOffset()
public double getAltitudeOffset()
protected abstract double getPointingOffsetAzimuth(double azdeg,
double hdeg)
protected abstract double getPointingOffsetAltitude(double azdeg,
double hdeg)