STK ObjectsSend comments on this topic.
IAgVePropagatorStkExternal Interface

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 FileFormatEphemeris file format.
Public Property FilenameName of external file.
Public Property LimitEphemerisToScenarioIntervalLimit ephemeris for analysis to the Scenario Interval.
Public Property MessageLevelMessage level used to report messages during file loading.
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

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)
© 2024 Analytical Graphics, Inc. All Rights Reserved.