AGI STK VGT 11 Send comments on this topic.
Create Method (IAgCrdnAxesFactory)
See Also 
AxesName
Specify a component name.
Description
Specify a component description.
AxesType
Specify a component type.





Description

Creates a VGT axes using specified name, description and type.

Syntax

[Visual Basic .NET]
Public Function Create( _
   ByVal AxesName As String, _
   ByVal Description As String, _
   ByVal AxesType As AgECrdnAxesType _
) As IAgCrdnAxes

[C#]
public IAgCrdnAxes Create(
string AxesName,
string Description,
AgECrdnAxesType AxesType
);

[Managed C++]
public: IAgCrdnAxes^ Create(
String __gc ^ AxesName,
String __gc ^ Description,
AgECrdnAxesType AxesType
);

[Java]
public IAgCrdnAxes create(
String AxesName,
String Description,
AgECrdnAxesType AxesType
);

[Unmanaged C++]
public: HRESULT Create(
BSTR AxesName,
BSTR Description,
AgECrdnAxesType AxesType,
IAgCrdnAxes ** ReturnValue
);

Parameters

AxesName
Specify a component name.
Description
Specify a component description.
AxesType
Member Value Description
eCrdnAxesTypeUnknown -1 Unknown or unsupported type.
eCrdnAxesTypeLagrangeLibration 0 Libration point axes using one primary and multiple secondary central bodies. Set primary and secondary bodies, and point type.
eCrdnAxesTypeAngularOffset 1 Axes created by rotating the Reference axes about the Spin vector through the specified rotation angle plus the additional rotational offset.
eCrdnAxesTypeFixedAtEpoch 2 Axes based on another set fixed at a specified epoch.
eCrdnAxesTypeBPlane 3 B-Plane axes using the selected target body and reference vector.
eCrdnAxesTypeCustomScript 4 Customized axes offset with respect to a set of reference Axes.
eCrdnAxesTypeFromFile 5 This enumeration is deprecated. Use eCrdnAxesTypeFile instead. Axes specified by data from a file.
eCrdnAxesTypeFixed 6 Axes fixed in reference axes.
eCrdnAxesTypeAlignedAndConstrained 7 Axes aligned using two pairs of vectors. One vector in each pair is fixed in these axes and the other vector serves as an independent reference.
eCrdnAxesTypeModelAttachment 8 Axes aligned with the specified pointable element of the object's 3D model. The axes follow the model as well as any articulations that affect the specified pointable element.
eCrdnAxesTypeSpinning 9 Axes created by spinning the Reference axes about the Spin vector with the specified rate. The axes are aligned with the Reference axes at the specified epoch plus the additional rotational offset.
eCrdnAxesTypeOnSurface 10 Projection of the reference point onto the central body.
eCrdnAxesTypeTrajectory 11 Axes based on trajectory of the point relative to the reference coordinate system.
eCrdnAxesTypeTemplate 12 Represents a VGT axes created from a template. This type of axes is not creatable.
eCrdnAxesTypeAtTimeInstant 13 Axes orientation fixed relative to reference axes based on orientation of another set of axes evaluated at specified time instant.
eCrdnAxesTypePlugin 14 An axes plugin point.
eCrdnAxesTypeFile 5 Axes specified by data from a file.
Specify a component type.

Remarks

Spaces and most punctuation ( except for "-_().") cannot be used as a part of a component name when creating new components via VGT API.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1