Description
StkExternal propagator interface.
Public Methods
Propagate | Propagates the satellite's path using the specified time interval. |
Public Properties
EphemerisStartEpoch | If overriding the times contained in the external file, specify the time of the first ephemeris point. |
FileFormat | Ephemeris file format. |
Filename | Name of external file. |
Override | Opt whether to override times contained in the external file. |
StartTime | The start time of ephemeris interval. Uses DateFormat Dimension. |
Step | Step size. Uses Time Dimension. |
StopTime | The stop time of ephemeris interval. Uses DateFormat Dimension. |
Interfaces
CoClasses that Implement IAgVePropagatorStkExternal
Example
Set ground vehicle to use STK External propagator
[C#] |
---|
// Set groundVehicle route to STK External propagator
groundVehicle.SetRouteType(AgEVePropagatorType.ePropagatorStkExternal);
// Retrieve propagator interface if necessary
IAgVePropagatorStkExternal propagator = groundVehicle.Route as IAgVePropagatorStkExternal;
|
|
Set the satellite to use the STK External propagator
[C#] |
---|
// Set propagator to STK External
satellite.SetPropagatorType(AgEVePropagatorType.ePropagatorStkExternal);
// Get the STK External propagator
IAgVePropagatorStkExternal propagator = satellite.Propagator as IAgVePropagatorStkExternal;
|
|
Set ship to use STK External propagator
[C#] |
---|
// Set ship route to STK External propagator
ship.SetRouteType(AgEVePropagatorType.ePropagatorStkExternal);
// Retrieve propagator interface if necessary
IAgVePropagatorStkExternal propagator = ship.Route as IAgVePropagatorStkExternal;
|
|
Create a satellite from an external ephemeris file (.e)
[C#] |
---|
IAgSatellite satellite = root.CurrentScenario.Children.New(AgESTKObjectType.eSatellite, "MySatellite") as IAgSatellite;
// Configure propagator's external file path
satellite.SetPropagatorType(AgEVePropagatorType.ePropagatorStkExternal);
IAgVePropagatorStkExternal ext = satellite.Propagator as IAgVePropagatorStkExternal;
ext.Filename = ephemerisFilePath;
// Propagate
ext.Propagate();
|
|
Create a satellite from an external ephemeris file (.e)
[Visual Basic .NET] |
---|
Dim satellite As IAgSatellite = TryCast(root.CurrentScenario.Children.[New](AgESTKObjectType.eSatellite, "MySatellite"), IAgSatellite)
' Configure propagator's external file path
satellite.SetPropagatorType(AgEVePropagatorType.ePropagatorStkExternal)
Dim ext As IAgVePropagatorStkExternal = TryCast(satellite.Propagator, IAgVePropagatorStkExternal)
ext.Filename = ephemerisFilePath
' Propagate
ext.Propagate()
|
|
Set ground vehicle to use STK External propagator
[Visual Basic .NET] |
---|
' Set groundVehicle route to STK External propagator
groundVehicle.SetRouteType(AgEVePropagatorType.ePropagatorStkExternal)
' Retrieve propagator interface if necessary
Dim propagator As IAgVePropagatorStkExternal = TryCast(groundVehicle.Route, IAgVePropagatorStkExternal)
|
|
Set the satellite to use the STK External propagator
[Visual Basic .NET] |
---|
' Set propagator to STK External
satellite.SetPropagatorType(AgEVePropagatorType.ePropagatorStkExternal)
' Get the STK External propagator
Dim propagator As IAgVePropagatorStkExternal = TryCast(satellite.Propagator, IAgVePropagatorStkExternal)
|
|
Set ship to use STK External propagator
[Visual Basic .NET] |
---|
' Set ship route to STK External propagator
ship.SetRouteType(AgEVePropagatorType.ePropagatorStkExternal)
' Retrieve propagator interface if necessary
Dim propagator As IAgVePropagatorStkExternal = TryCast(ship.Route, IAgVePropagatorStkExternal)
|
|