STK ObjectsSend comments on this topic.
SetPointingFixedAxesYPR Method (IAgSnCommonTasks)
See Also
ReferenceAxes
The ReferenceAxes format is as follows: <ObjectClass>/<InstanceName> <AxesName> Axes
Example: CentralBody/Sun J2000 Axes.
Sequence
Yaw
Pitch
Roll
Windows





Windows & Linux

Description

Sets the pointing method to FixedAxes with a YPR Angles orientation.

Syntax

[Visual Basic .NET]
Public Function SetPointingFixedAxesYPR( _
    ByVal ReferenceAxes As String, _
    ByVal Sequence As AgEYPRAnglesSequence, _
    ByVal Yaw As System.Object, _
    ByVal Pitch As System.Object, _
    ByVal Roll As System.Object _
) As IAgSnPtFixedAxes
[C#]
public IAgSnPtFixedAxes SetPointingFixedAxesYPR(
    string ReferenceAxes,
    AgEYPRAnglesSequence Sequence,
    System.Object Yaw,
    System.Object Pitch,
    System.Object Roll
);
[Managed C++]
public: IAgSnPtFixedAxes^ SetPointingFixedAxesYPR(
    String __gc ^ ReferenceAxes,
    AgEYPRAnglesSequence Sequence,
    VARIANT Yaw,
    VARIANT Pitch,
    VARIANT Roll
);
[Unmanaged C++]
public: HRESULT SetPointingFixedAxesYPR(
    BSTR ReferenceAxes,
    AgEYPRAnglesSequence Sequence,
    VARIANT Yaw,
    VARIANT Pitch,
    VARIANT Roll,
    IAgSnPtFixedAxes ** ppIAgSnPtFixedAxes
);
[Java]
public IAgSnPtFixedAxes setPointingFixedAxesYPR(
    String ReferenceAxes,
    AgEYPRAnglesSequence Sequence,
    AgVariant Yaw,
    AgVariant Pitch,
    AgVariant Roll
);
[Python - STK API ]
def SetPointingFixedAxesYPR(self, ReferenceAxes:str, Sequence:"AgEYPRAnglesSequence", Yaw:typing.Any, Pitch:typing.Any, Roll:typing.Any) -> "IAgSnPtFixedAxes":

Parameters

ReferenceAxes
The ReferenceAxes format is as follows: <ObjectClass>/<InstanceName> <AxesName> Axes
Example: CentralBody/Sun J2000 Axes.
Sequence
Yaw
Pitch
Roll

See Also

Example

Define sensor pointing fixed axes YPR
[C#]
IAgSnPtFixedAxes fixedAxesSensor = sensor.CommonTasks.SetPointingFixedAxesYPR("CentralBody/Sun J2000 Axes", AgEYPRAnglesSequence.eRYP, 11, 22, 33);
Define sensor pointing fixed axes YPR
[Visual Basic .NET]
Dim fixedAxesSensor As IAgSnPtFixedAxes = sensor.CommonTasks.SetPointingFixedAxesYPR("CentralBody/Sun J2000 Axes", AgEYPRAnglesSequence.eRYP, 11, 22, 33)
Define sensor pointing fixed axes YPR
[Python - STK API]
# IAgSensor sensor: Sensor object
# Change pointing and set
sensor.CommonTasks.SetPointingFixedAxesYPR('CentralBody/Sun J2000 Axes', AgEYPRAnglesSequence.eRYP, 11, 22, 33)

Define sensor pointing fixed axes YPR
[MATLAB]
% IAgSensor sensor: Sensor object
% Change pointing and set
sensor.CommonTasks.SetPointingFixedAxesYPR('CentralBody/Sun J2000 Axes', 'eRYP', 11, 22, 33)


        
© 2024 Analytical Graphics, Inc. All Rights Reserved.