STK ObjectsSend comments on this topic.
SetPointingFixedAxesQuat Method (IAgSnCommonTasks)
See Also
ReferenceAxes
The ReferenceAxes format is as follows: <ObjectClass>/<InstanceName> <AxesName> Axes
Example: CentralBody/Sun J2000 Axes.
QX
QY
QZ
QS
Windows





Windows & Linux

Description

Sets the pointing method to FixedAxes with a Quaternion orientation.

Syntax

[Visual Basic .NET]
Public Function SetPointingFixedAxesQuat( _
    ByVal ReferenceAxes As String, _
    ByVal QX As Double, _
    ByVal QY As Double, _
    ByVal QZ As Double, _
    ByVal QS As Double _
) As IAgSnPtFixedAxes
[C#]
public IAgSnPtFixedAxes SetPointingFixedAxesQuat(
    string ReferenceAxes,
    double QX,
    double QY,
    double QZ,
    double QS
);
[Managed C++]
public: IAgSnPtFixedAxes^ SetPointingFixedAxesQuat(
    String __gc ^ ReferenceAxes,
    double QX,
    double QY,
    double QZ,
    double QS
);
[Unmanaged C++]
public: HRESULT SetPointingFixedAxesQuat(
    BSTR ReferenceAxes,
    double QX,
    double QY,
    double QZ,
    double QS,
    IAgSnPtFixedAxes ** ppIAgSnPtFixedAxes
);
[Java]
public IAgSnPtFixedAxes setPointingFixedAxesQuat(
    String ReferenceAxes,
    double QX,
    double QY,
    double QZ,
    double QS
);
[Python - STK API ]
def SetPointingFixedAxesQuat(self, ReferenceAxes:str, QX:float, QY:float, QZ:float, QS:float) -> "IAgSnPtFixedAxes":

Parameters

ReferenceAxes
The ReferenceAxes format is as follows: <ObjectClass>/<InstanceName> <AxesName> Axes
Example: CentralBody/Sun J2000 Axes.
QX
QY
QZ
QS

See Also

Example

Define sensor pointing fixed axes Quaternion
[C#]
IAgSnPtFixedAxes fixedAxesSensor = sensor.CommonTasks.SetPointingFixedAxesQuat("CentralBody/Sun J2000 Axes", 0.1, 0.2, 0.3, 0.4);
Define sensor pointing fixed axes Quaternion
[Visual Basic .NET]
Dim fixedAxesSensor As IAgSnPtFixedAxes = sensor.CommonTasks.SetPointingFixedAxesQuat("CentralBody/Sun J2000 Axes", 0.1, 0.2, 0.3, 0.4)
Define sensor pointing fixed axes Quaternion
[Python - STK API]
# IAgSensor sensor: Sensor object
# Change pointing and set
sensor.CommonTasks.SetPointingFixedAxesQuat('CentralBody/Sun J2000 Axes', 0.1, 0.2, 0.3, 0.4)

Define sensor pointing fixed axes Quaternion
[MATLAB]
% IAgSensor sensor: Sensor object
% Change pointing and set
sensor.CommonTasks.SetPointingFixedAxesQuat('CentralBody/Sun J2000 Axes', 0.1, 0.2, 0.3, 0.4)


        
© 2024 Analytical Graphics, Inc. All Rights Reserved.