public class StkEphemerisFileOptions extends Object
StkEphemerisFile
.Constructor and Description |
---|
StkEphemerisFileOptions()
Creates an instance of the class with default read options.
|
Modifier and Type | Method and Description |
---|---|
CovarianceReadOptions |
getCovarianceOptions()
Gets the options for reading in the covariance data of an ephemeris file.
|
boolean |
getIgnorePropertiesWithUnsupportedValues()
Gets a value indicating whether
StkEphemerisFile.readFrom(BufferedReader,StkEphemerisFileOptions)
will ignore a property in the ephemeris file if the property has a value that the reader does not understand. |
boolean |
getIgnoreUnsupportedProperties()
Gets a value indicating whether
StkEphemerisFile.readFrom(BufferedReader,StkEphemerisFileOptions)
will ignore a property in the ephemeris file that it does not understand. |
boolean |
getOverrideScenarioEpoch()
|
JulianDate |
getScenarioEpoch()
Gets the epoch relative to which all times in the ephemeris file are specified.
|
void |
setCovarianceOptions(CovarianceReadOptions value)
Sets the options for reading in the covariance data of an ephemeris file.
|
void |
setIgnorePropertiesWithUnsupportedValues(boolean value)
Sets a value indicating whether
StkEphemerisFile.readFrom(BufferedReader,StkEphemerisFileOptions)
will ignore a property in the ephemeris file if the property has a value that the reader does not understand. |
void |
setIgnoreUnsupportedProperties(boolean value)
Sets a value indicating whether
StkEphemerisFile.readFrom(BufferedReader,StkEphemerisFileOptions)
will ignore a property in the ephemeris file that it does not understand. |
void |
setOverrideScenarioEpoch(boolean value)
|
void |
setScenarioEpoch(JulianDate value)
Sets the epoch relative to which all times in the ephemeris file are specified.
|
public StkEphemerisFileOptions()
@Nonnull public final CovarianceReadOptions getCovarianceOptions()
public final void setCovarianceOptions(@Nonnull CovarianceReadOptions value)
public final boolean getIgnoreUnsupportedProperties()
StkEphemerisFile.readFrom(BufferedReader,StkEphemerisFileOptions)
will ignore a property in the ephemeris 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 ephemeris file. Setting this property to
true
will also cause the reader to ignore ephemeris blocks in an unsupported format.public final void setIgnoreUnsupportedProperties(boolean value)
StkEphemerisFile.readFrom(BufferedReader,StkEphemerisFileOptions)
will ignore a property in the ephemeris 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 ephemeris file. Setting this property to
true
will also cause the reader to ignore ephemeris blocks in an unsupported format.public final boolean getIgnorePropertiesWithUnsupportedValues()
StkEphemerisFile.readFrom(BufferedReader,StkEphemerisFileOptions)
will ignore a property in the ephemeris 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
ephemeris file.public final void setIgnorePropertiesWithUnsupportedValues(boolean value)
StkEphemerisFile.readFrom(BufferedReader,StkEphemerisFileOptions)
will ignore a property in the ephemeris 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
ephemeris file.@Nullable public final JulianDate getScenarioEpoch()
OverrideScenarioEpoch
(get
/ set
) is true
or if the ephemeris file
uses the epoch second
time format and does not specify a scenario epoch.public final void setScenarioEpoch(@Nullable JulianDate value)
OverrideScenarioEpoch
(get
/ set
) is true
or if the ephemeris file
uses the epoch second
time format and does not specify a scenario epoch.public final boolean getOverrideScenarioEpoch()
ScenarioEpoch
(get
/ set
) specified on this instance
overrides the one specified in the ephemeris file itself. If this property is true
,
ScenarioEpoch
(get
/ set
) must be specified and the times of all ephemeris points will be relative to
that epoch. If this property is false
, the scenario epoch specified in the
ephemeris file itself is used, if available, and the value of the ScenarioEpoch
(get
/ set
) is used
only if the file uses the epoch second
time format and does not specify a scenario epoch.public final void setOverrideScenarioEpoch(boolean value)
ScenarioEpoch
(get
/ set
) specified on this instance
overrides the one specified in the ephemeris file itself. If this property is true
,
ScenarioEpoch
(get
/ set
) must be specified and the times of all ephemeris points will be relative to
that epoch. If this property is false
, the scenario epoch specified in the
ephemeris file itself is used, if available, and the value of the ScenarioEpoch
(get
/ set
) is used
only if the file uses the epoch second
time format and does not specify a scenario epoch.