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






Windows & Linux

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
MemberValueDescription
eEphemAnalytic0Analytic ephemeris: use an analytic propagator. Available when orbital elements are known for the Central Body about its parent.
eEphemDefault2Default: use STK's internal definition of the Central Body to generate ephemeris. By default, STK's internal definition uses the DE file if available.
eEphemSpice3SPICE: use the SPICE toolkit to generate ephemeris. Available only if a SPICE ephemeris file (*.bsp) has been loaded for the selected planet.
eEphemJPLDE4Default JPL DE file.

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.