AGI STK Objects 11 Send comments on this topic.
SetPositionSourceCentralBody Method (IAgPlCommonTasks)
See Also 
CentralBody
EphemSource





Description

Specify the planet using a central body and a desired ephemeris source.

Syntax

[Visual Basic .NET]
Public Function SetPositionSourceCentralBody( _
   ByVal CentralBody As String, _
   ByVal EphemSource As AgEEphemSourceType _
) As IAgPlPosCentralBody

[C#]
public IAgPlPosCentralBody SetPositionSourceCentralBody(
string CentralBody,
AgEEphemSourceType EphemSource
);

[Managed C++]
public: IAgPlPosCentralBody^ SetPositionSourceCentralBody(
String __gc ^ CentralBody,
AgEEphemSourceType EphemSource
);

[Java]
public IAgPlPosCentralBody setPositionSourceCentralBody(
String CentralBody,
AgEEphemSourceType EphemSource
);

[Unmanaged C++]
public: HRESULT SetPositionSourceCentralBody(
BSTR CentralBody,
AgEEphemSourceType EphemSource,
IAgPlPosCentralBody ** ReturnValue
);

Parameters

CentralBody
EphemSource
Member Value Description
eEphemAnalytic 0 Analytic ephemeris: use an analytic propagator. Available when orbital elements are known for the Central Body about its parent.
eEphemDefault 2 Default: use STK's internal definition of the Central Body to generate ephemeris. By default, STK's internal definition uses the DE file if available.
eEphemSpice 3 SPICE: use the SPICE toolkit to generate ephemeris. Available only if a SPICE ephemeris file (*.bsp) has been loaded for the selected planet.
eEphemJPLDE 4 Default JPL DE file.

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1