AGI STK Objects 11 Send comments on this topic.
IAgVePropagatorStkExternal Interface
Windows






Windows & Linux

Description

StkExternal propagator interface.

Public Methods

Public Method PropagatePropagates the satellite's path using the specified time interval.

Public Properties

Public Property EphemerisStartEpochIf overriding the times contained in the external file, specify the time of the first ephemeris point.
Public Property EphemStartThis property is deprecated. Use EphemerisStartEpoch instead. If overriding the times contained in the external file, specify the time of the first ephemeris point. Uses DateFormat Dimension.
Public Property FileFormatEphemeris file format.
Public Property FilenameName of external file.
Public Property OverrideOpt whether to override times contained in the external file.
Public Property StartTimeThe start time of ephemeris interval. Uses DateFormat Dimension.
Public Property StepStep size. Uses Time Dimension.
Public Property StopTimeThe stop time of ephemeris interval. Uses DateFormat Dimension.

Interfaces

Implemented Interface
IAgVePropagator

Example

Set ground vehicle to use STK External propagator
[C#]Copy Code
// 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#]Copy Code
// 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#]Copy Code
// 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#]Copy Code
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]Copy Code
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]Copy Code
' 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]Copy Code
' 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]Copy Code
' Set ship route to STK External propagator
ship.SetRouteType(AgEVePropagatorType.ePropagatorStkExternal)

' Retrieve propagator interface if necessary
Dim propagator As IAgVePropagatorStkExternal = TryCast(ship.Route, IAgVePropagatorStkExternal)

CoClasses that Implement IAgVePropagatorStkExternal

© 2018 Analytical Graphics, Inc. All Rights Reserved.