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





Description

StkExternal propagator interface.

Public Methods

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

Public Properties

Public Property EphemerisStartEpoch If overriding the times contained in the external file, specify the time of the first ephemeris point.
Public Property EphemStart This 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 FileFormat Ephemeris file format.
Public Property Filename Name of external file.
Public Property Override Opt whether to override times contained in the external file.
Public Property StartTime The start time of ephemeris interval. Uses DateFormat Dimension.
Public Property Step Step size. Uses Time Dimension.
Public Property StopTime The stop time of ephemeris interval. Uses DateFormat Dimension.

Interfaces

Implemented Interface
IAgVePropagator

Example

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(); 
 

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)
[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

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1