AGI STK VGT 11Send comments on this topic.
IsTypeSupported Method (IAgCrdnAxesFactory)
See Also  Example
Type
Specify an axes type.
Windows






Windows & Linux

Description

Returns true if the type is supported.

Syntax

[Visual Basic .NET]
Public Function IsTypeSupported( _
   ByVal Type As AgECrdnAxesType _
) As Boolean
[C#]
public bool IsTypeSupported(
   AgECrdnAxesType Type
);
[Managed C++]
public: bool IsTypeSupported(
   AgECrdnAxesType Type
);
[Java]
public bool isTypeSupported(
   AgECrdnAxesType Type
);
[Unmanaged C++]
public: HRESULT IsTypeSupported(
   AgECrdnAxesType Type,
   VARIANT_BOOL * ReturnValue
);

Parameters

Type
MemberValueDescription
eCrdnAxesTypeUnknown-1Unknown or unsupported type.
eCrdnAxesTypeLagrangeLibration0Libration point axes using one primary and multiple secondary central bodies. Set primary and secondary bodies, and point type.
eCrdnAxesTypeAngularOffset1Axes created by rotating the Reference axes about the Spin vector through the specified rotation angle plus the additional rotational offset.
eCrdnAxesTypeFixedAtEpoch2Axes based on another set fixed at a specified epoch.
eCrdnAxesTypeBPlane3B-Plane axes using the selected target body and reference vector.
eCrdnAxesTypeCustomScript4Customized axes offset with respect to a set of reference Axes.
eCrdnAxesTypeFromFile5This enumeration is deprecated. Use eCrdnAxesTypeFile instead. Axes specified by data from a file.
eCrdnAxesTypeFixed6Axes fixed in reference axes.
eCrdnAxesTypeAlignedAndConstrained7Axes 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.
eCrdnAxesTypeModelAttachment8Axes 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.
eCrdnAxesTypeSpinning9Axes 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.
eCrdnAxesTypeOnSurface10Projection of the reference point onto the central body.
eCrdnAxesTypeTrajectory11Axes based on trajectory of the point relative to the reference coordinate system.
eCrdnAxesTypeTemplate12Represents a VGT axes created from a template. This type of axes is not creatable.
eCrdnAxesTypeAtTimeInstant13Axes orientation fixed relative to reference axes based on orientation of another set of axes evaluated at specified time instant.
eCrdnAxesTypePlugin14An axes plugin point.
eCrdnAxesTypeFile5Axes specified by data from a file.
Specify an axes type.

Example

Determine if the specified axes type is supported.
[C#]Copy Code
if (provider.Axes.Factory.IsTypeSupported(axesType)) 

    IAgCrdnAxes axes = provider.Axes.Factory.Create( 
        "AxesName"string.Empty, axesType); 

 

Determine if the specified axes type is supported.
[Visual Basic .NET]Copy Code
If provider.Axes.Factory.IsTypeSupported(axesType) Then
    Dim axes As IAgCrdnAxes = provider.Axes.Factory.Create("AxesName", String.Empty, axesType)
End If

See Also

© 2019 Analytical Graphics, Inc. All Rights Reserved.