AGI STK Objects 11 Send comments on this topic.
IAgVeProfileInertial Interface
Windows






Windows & Linux

Description

Inertially fixed attitude profile: maintains a constant orientation of the body-fixed axes with respect to the inertial axes, using the selected coordinate type.

Public Properties

Public Property InertialGet inertial axes.

Interfaces

Implemented Interface
IAgVeAttProfile

Example

Add attitude data based on a time-ordered set of quaternions
[C#]Copy Code
satellite.SetAttitudeType(AgEVeAttitude.eAttitudeStandard); 
IAgVeOrbitAttitudeStandard standard = satellite.Attitude as IAgVeOrbitAttitudeStandard; 
standard.Basic.SetProfileType(AgEVeProfile.eProfileInertiallyFixed); 
IAgVeProfileInertial interfix = standard.Basic.Profile as IAgVeProfileInertial; 
 
interfix.Inertial.AssignQuaternion(-0.34298, -0.470810.703450.40725); 
 

Add attitude data based on a time-ordered set of Euler angles
[C#]Copy Code
// Set Attitude to Standard 
satellite.SetAttitudeType(AgEVeAttitude.eAttitudeStandard); 
// Get IAgVeOrbitAttitudeStandard interface 
IAgVeOrbitAttitudeStandard standard = satellite.Attitude as IAgVeOrbitAttitudeStandard; 
 
// Set Profile to Inertially Fixed 
standard.Basic.SetProfileType(AgEVeProfile.eProfileInertiallyFixed); 
// Get IAgVeProfileInertial interface 
IAgVeProfileInertial interfix = standard.Basic.Profile as IAgVeProfileInertial; 
 
interfix.Inertial.AssignEulerAngles(AgEEulerOrientationSequence.e123, 20.150.020.0); 
 

Add attitude data based on a time-ordered set of quaternions
[Visual Basic .NET]Copy Code
satellite.SetAttitudeType(AgEVeAttitude.eAttitudeStandard)
Dim standard As IAgVeOrbitAttitudeStandard = TryCast(satellite.Attitude, IAgVeOrbitAttitudeStandard)
standard.Basic.SetProfileType(AgEVeProfile.eProfileInertiallyFixed)
Dim interfix As IAgVeProfileInertial = TryCast(standard.Basic.Profile, IAgVeProfileInertial)

interfix.Inertial.AssignQuaternion(-0.34298, -0.47081, 0.70345, 0.40725)

Add attitude data based on a time-ordered set of Euler angles
[Visual Basic .NET]Copy Code
' Set Attitude to Standard
satellite.SetAttitudeType(AgEVeAttitude.eAttitudeStandard)
' Get IAgVeOrbitAttitudeStandard interface
Dim standard As IAgVeOrbitAttitudeStandard = TryCast(satellite.Attitude, IAgVeOrbitAttitudeStandard)

' Set Profile to Inertially Fixed
standard.Basic.SetProfileType(AgEVeProfile.eProfileInertiallyFixed)
' Get IAgVeProfileInertial interface
Dim interfix As IAgVeProfileInertial = TryCast(standard.Basic.Profile, IAgVeProfileInertial)

interfix.Inertial.AssignEulerAngles(AgEEulerOrientationSequence.e123, 20.1, 50, 20)

CoClasses that Implement IAgVeProfileInertial

© 2019 Analytical Graphics, Inc. All Rights Reserved.