AGI STK Objects 11 Send comments on this topic.
IsProfileTypeSupported Method (IAgVeStandardBasic)
See Also  Example
Profile





Description

Get a value indicating whether the specified type can be used.

Syntax

[Visual Basic .NET]
Public Function IsProfileTypeSupported( _
   ByVal Profile As AgEVeProfile _
) As Boolean

[C#]
public bool IsProfileTypeSupported(
AgEVeProfile Profile
);

[Managed C++]
public: bool IsProfileTypeSupported(
AgEVeProfile Profile
);

[Java]
public bool isProfileTypeSupported(
AgEVeProfile Profile
);

[Unmanaged C++]
public: HRESULT IsProfileTypeSupported(
AgEVeProfile Profile,
VARIANT_BOOL * ReturnValue
);

Parameters

Profile
Member Value Description
eProfileUnknown -1 Non-supported profile.
eProfileAlignedAndConstrained 0 Aligned and Constrained attitude profile.
eProfileCentralBodyFixed 1 Central Body Fixed attitude profile.
eProfileECFVelocityAlignmentWithNadirConstraint 2 ECF Velocity Alignment with Nadir Constraint attitude profile.
eProfileECFVelocityAlignmentWithRadialConstraint 3 ECF Velocity Alignment with Radial Constraint attitude profile.
eProfileECIVelocityAlignmentWithSunConstraint 4 ECI Velocity Alignment with Sun Constraint attitude profile.
eProfileECIVelocityAlignmentWithNadirConstraint 5 ECI Velocity Alignment with Nadir Constraint attitude profile.
eProfileFixedInAxes 6 Fixed in Axes attitude profile.
eProfileInertiallyFixed 7 Inertially Fixed attitude profile.
eProfileNadirAlignmentWithECFVelocityConstraint 8 Nadir Alignment with ECF Velocity Constraint attitude profile.
eProfileNadirAlignmentWithECIVelocityConstraint 9 Nadir Alignment with ECI Velocity Constraint attitude profile.
eProfileNadirAlignmentWithSunConstraint 10 Nadir Alignment with Sun Constraint attitude profile.
eProfileNadirAlignmentWithOrbitNormalConstraint 11 Nadir Alignment with Orbit Normal Constraint attitude profile.
eProfilePrecessingSpin 12 Precessing Spin attitude profile.
eProfileSpinAligned 13 Spin Aligned attitude profile.
eProfileSpinAboutSunVector 14 Spin about Sun Vector attitude profile.
eProfileSpinAboutNadir 15 Spin about Nadir attitude profile.
eProfileSpinning 16 Spinning attitude profile.
eProfileSunAlignmentOccultationNormalConstraint 17 Sun Alignmnent Occultation Normal Constraint attitude profile.
eProfileSunAlignmentWithECIZAxisConstraint 18 Sun Alignment with ECI Z Axis Constraint attitude profile.
eProfileSunAlignmentWithZInOrbitPlane 19 Sun Alignment with Z in Orbit Plane attitude profile.
eProfileSunAlignmentWithEclipticNormalConstraint 20 Sun Alignment with Ecliptic Normal Constraint attitude profile.
eProfileSunAlignmentWithNadirConstraint 21 Sun Alignment with Nadir Constraint attitude profile.
eProfileXPOPInertialAttitude 22 XPOP Inertial Attitude attitude profile.
eProfileYawToNadir 23 Yaw to Nadir attitude profile.
eCoordinatedTurn 24 Coordinated Turn attitude profile.
eProfileGPS 27 GPS attitude profile.

Example

Set attitude profile type (if profile is supported)
[C#] Copy Code
IAgVeOrbitAttitudeStandard standard = satellite.Attitude as IAgVeOrbitAttitudeStandard; 
if (standard.Basic.IsProfileTypeSupported(AgEVeProfile.eProfileSpinning)) 

    standard.Basic.SetProfileType(AgEVeProfile.eProfileSpinning); 

 

Set attitude profile type (if profile is supported)
[Visual Basic .NET] Copy Code
Dim standard As IAgVeOrbitAttitudeStandard = TryCast(satellite.Attitude, IAgVeOrbitAttitudeStandard)
If standard.Basic.IsProfileTypeSupported(AgEVeProfile.eProfileSpinning) Then
    standard.Basic.SetProfileType(AgEVeProfile.eProfileSpinning)
End If

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1