AGI STK Astrogator 11 Send comments on this topic.
AddShape Method (IAgVACentralBody)
See Also 
EShape
UniqueName





Description

Adds a central body shape type from the available types.

Syntax

[Visual Basic .NET]
Public Function AddShape( _
   ByVal EShape As AgEVACbShape, _
   ByVal UniqueName As String _
) As IAgVACbShape

[C#]
public IAgVACbShape AddShape(
AgEVACbShape EShape,
string UniqueName
);

[Managed C++]
public: IAgVACbShape^ AddShape(
AgEVACbShape EShape,
String __gc ^ UniqueName
);

[Java]
public IAgVACbShape addShape(
AgEVACbShape EShape,
String UniqueName
);

[Unmanaged C++]
public: HRESULT AddShape(
AgEVACbShape EShape,
BSTR UniqueName,
IAgVACbShape ** ReturnValue
);

Parameters

EShape
Member Value Description
eVACbShapeTriaxialEllipsoid 0 A triaxial ellipsoid defined by a semi-major axis, semi-mid axis and semi-minor axis.
eVACbShapeOblateSpheroid 1 An oblate spheroid defined by a minimum and maximum radii, and a derived flattening coefficient.
eVACbShapeSphere 2 A sphere defined by a radius.
UniqueName

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1