AGI STK Graphics 11 Send 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.





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, _
   ByRef Axis As System.Array _
) 

[C#]
public void AlignToAxis(
string CentralBody,
ref System.Array Axis
);

[Managed C++]
public: void AlignToAxis(
String __gc ^ CentralBody,
System::Array ^^ Axis
);

[Java]
public  alignToAxis(
String CentralBody,
Object[] Axis
);

[Unmanaged C++]
public: HRESULT AlignToAxis(
BSTR CentralBody,
SAFEARRAY ** Axis
);

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

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1