public class StkAttitudeFileOptions extends Object
StkAttitudeFile
.Constructor and Description |
---|
StkAttitudeFileOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
getIgnorePropertiesWithUnsupportedValues()
Gets a value indicating whether
StkAttitudeFile.readFrom(BufferedReader,StkAttitudeFileOptions)
will ignore a property in the attitude file if the property has a value that the reader does not understand. |
boolean |
getIgnoreUnsupportedProperties()
Gets a value indicating whether
StkAttitudeFile.readFrom(BufferedReader,StkAttitudeFileOptions)
will ignore a property in the attitude file that it does not understand. |
boolean |
getOverrideScenarioEpoch()
|
JulianDate |
getScenarioEpoch()
Gets the epoch relative to which all times in the attitude file are specified.
|
void |
setIgnorePropertiesWithUnsupportedValues(boolean value)
Sets a value indicating whether
StkAttitudeFile.readFrom(BufferedReader,StkAttitudeFileOptions)
will ignore a property in the attitude file if the property has a value that the reader does not understand. |
void |
setIgnoreUnsupportedProperties(boolean value)
Sets a value indicating whether
StkAttitudeFile.readFrom(BufferedReader,StkAttitudeFileOptions)
will ignore a property in the attitude file that it does not understand. |
void |
setOverrideScenarioEpoch(boolean value)
|
void |
setScenarioEpoch(JulianDate value)
Sets the epoch relative to which all times in the attitude file are specified.
|
public final boolean getIgnoreUnsupportedProperties()
StkAttitudeFile.readFrom(BufferedReader,StkAttitudeFileOptions)
will ignore a property in the attitude file that it does not understand. If this property is
false
, the reader will throw an InvalidDataException
when it encounters
such a property. If this property is true
, the reader will note the unsupported property
in the UnsupportedProperties
(get
) collection but will otherwise ignore it, which can
result in incorrect interpretation of the data in the attitude file. Setting this property to
true
will also cause the reader to ignore attitude blocks in an unsupported format.public final void setIgnoreUnsupportedProperties(boolean value)
StkAttitudeFile.readFrom(BufferedReader,StkAttitudeFileOptions)
will ignore a property in the attitude file that it does not understand. If this property is
false
, the reader will throw an InvalidDataException
when it encounters
such a property. If this property is true
, the reader will note the unsupported property
in the UnsupportedProperties
(get
) collection but will otherwise ignore it, which can
result in incorrect interpretation of the data in the attitude file. Setting this property to
true
will also cause the reader to ignore attitude blocks in an unsupported format.public final boolean getIgnorePropertiesWithUnsupportedValues()
StkAttitudeFile.readFrom(BufferedReader,StkAttitudeFileOptions)
will ignore a property in the attitude file if the property has a value that the reader does not understand.
If this property is false
, the reader will throw an InvalidDataException
when it encounters such a property. If this property is true
, the reader will note the
property with the unsupported value in the PropertiesWithUnsupportedValues
(get
)
collection but will otherwise ignore it, which can result in incorrect interpretation of the data in the
attitude file.public final void setIgnorePropertiesWithUnsupportedValues(boolean value)
StkAttitudeFile.readFrom(BufferedReader,StkAttitudeFileOptions)
will ignore a property in the attitude file if the property has a value that the reader does not understand.
If this property is false
, the reader will throw an InvalidDataException
when it encounters such a property. If this property is true
, the reader will note the
property with the unsupported value in the PropertiesWithUnsupportedValues
(get
)
collection but will otherwise ignore it, which can result in incorrect interpretation of the data in the
attitude file.@Nullable public final JulianDate getScenarioEpoch()
public final void setScenarioEpoch(@Nullable JulianDate value)
public final boolean getOverrideScenarioEpoch()
ScenarioEpoch
(get
/ set
) specified on this instance
overrides the one specified in the attitude file itself. If this property is true
,
ScenarioEpoch
(get
/ set
) must be specified and the times of all attitude points will be relative to
that epoch. If this property is false
, the scenario epoch specified in the
attitude file itself is used, if available, and the value of the ScenarioEpoch
(get
/ set
) is used
only if the file does not specify an epoch.public final void setOverrideScenarioEpoch(boolean value)
ScenarioEpoch
(get
/ set
) specified on this instance
overrides the one specified in the attitude file itself. If this property is true
,
ScenarioEpoch
(get
/ set
) must be specified and the times of all attitude points will be relative to
that epoch. If this property is false
, the scenario epoch specified in the
attitude file itself is used, if available, and the value of the ScenarioEpoch
(get
/ set
) is used
only if the file does not specify an epoch.