AGI STK Objects 11 Send comments on this topic.
IAgVeEphemerisStkExportTool Interface





Description

The STK Ephemeris type for the Export Ephemeris/Attitude Tool.

Object Model



Public Methods

Public Method Export Exports the ephemeris file.

Public Properties

Public Property CentralBodyName The central body of the satellite.
Public Property CoordinateSystem Whether the resulting data file should be in the Fixed, J2000, or Inertial coordinate system. If Earth or the Sun is the central body, the Inertial coordinate system is not an available option.
Public Property CovarianceType Choose to export position covariance (3x3), position/velocity covariance (6x6), or no covariance information. CovarianceType is valid only if the vehicle has ephemeris with covariance.
Public Property IncludeInterp Include or ignore interpolation boundaries.
Public Property StepSize If the Use Ephemeris Steps option is not selected, enter a Step Size to be used for the vehicle.
Public Property TimePeriod Sets the time period. Options are Use Entire Ephemeris - STK creates a data file using the Start and Stop Time specified in the vehicle's Orbit tab or Specify Time Period - STK creates a data file using the Start and Stop Time specified here.
Public Property UseVehicleCentralBody Uses vehicle's central body.
Public Property VersionFormat Provides the option to generate files compatible with prior versions of STK.

Example

Export a vehicle STK ephemeris to an external file
[C#] Copy Code
// set export parameters 
stkEphem.CoordinateSystem = AgEStkEphemCoordinateSystem.eStkEphemCoordinateSystemFixed; 
stkEphem.IncludeInterp = true
stkEphem.VersionFormat = AgEExportToolVersionFormat.eExportToolVersionFormatCurrent; 
stkEphem.TimePeriod.TimePeriodType = AgEExportToolTimePeriod.eExportToolTimePeriodSpecify; 
 
// Set the ephemeris to the Scenario start and stop times 
stkEphem.TimePeriod.Start = scenario.StartTime; 
stkEphem.TimePeriod.Stop = scenario.StopTime; 
 
stkEphem.StepSize.StepSizeType = AgEExportToolStepSize.eExportToolStepSizeEphem; 
stkEphem.Export(ephemFilePath); 
 

Export a vehicle STK ephemeris to an external file
[Visual Basic .NET] Copy Code
' set export parameters
stkEphem.CoordinateSystem = AgEStkEphemCoordinateSystem.eStkEphemCoordinateSystemFixed
stkEphem.IncludeInterp = True
stkEphem.VersionFormat = AgEExportToolVersionFormat.eExportToolVersionFormatCurrent
stkEphem.TimePeriod.TimePeriodType = AgEExportToolTimePeriod.eExportToolTimePeriodSpecify

' Set the ephemeris to the Scenario start and stop times
stkEphem.TimePeriod.Start = scenario.StartTime
stkEphem.TimePeriod.[Stop] = scenario.StopTime

stkEphem.StepSize.StepSizeType = AgEExportToolStepSize.eExportToolStepSizeEphem
stkEphem.Export(ephemFilePath)

CoClasses that Implement IAgVeEphemerisStkExportTool

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1