STK Graphics PrimitivesSend comments on this topic.
AlignToAxis Method (IAgStkGraphicsMarkerBatchPrimitive)
See Also
CentralBody
The central body that the marker will point towards the axis of.
Axis
The axis to align each marker's up vector to.
Windows





Windows & Linux

Description

Sets the up vector of the markers to point towards the axis of centralBody. It will be aligned with the tangent vector of the surface that points towards the axis. Setting axis to the north axis of the centralBody will have the same effect as calling MarkerBatchPrimitive.AlignToNorth.

Syntax

[Visual Basic .NET]
Public Sub AlignToAxis( _
    ByVal CentralBody As String, _
    ByVal Axis As System.Array _
)
[C#]
public void AlignToAxis(
    string CentralBody,
    System.Array Axis
);
[Managed C++]
public: void AlignToAxis(
    String __gc ^ CentralBody,
    System::Array ^ Axis
);
[Unmanaged C++]
public: HRESULT AlignToAxis(
    BSTR CentralBody,
    SAFEARRAY * * Axis
);
[Java]
public void alignToAxis(
    String CentralBody,
    AgSafeArray Axis
);
[Python - STK API ]
def AlignToAxis(self, CentralBody:str, Axis:list) -> None:

Parameters

CentralBody
The central body that the marker will point towards the axis of.
Axis
The axis to align each marker's up vector to.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.