AGI STK Objects 11Send comments on this topic.
SetPointingTargetedTracking Method (IAgSnCommonTasks)
See Also  Example
TrackModeType
AboutBoresightType
TargetPath
Windows






Windows & Linux

Description

Sets the pointing method to Targeted with Tracking.

Syntax

[Visual Basic .NET]
Public Function SetPointingTargetedTracking( _
   ByVal TrackModeType As AgETrackModeType, _
   ByVal AboutBoresightType As AgEBoresightType, _
   ByVal TargetPath As String _
) As IAgSnPtTargeted
[C#]
public IAgSnPtTargeted SetPointingTargetedTracking(
   AgETrackModeType TrackModeType,
   AgEBoresightType AboutBoresightType,
   string TargetPath
);
[Managed C++]
public: IAgSnPtTargeted^ SetPointingTargetedTracking(
   AgETrackModeType TrackModeType,
   AgEBoresightType AboutBoresightType,
   String __gc ^ TargetPath
);
[Java]
public IAgSnPtTargeted setPointingTargetedTracking(
   AgETrackModeType TrackModeType,
   AgEBoresightType AboutBoresightType,
   String TargetPath
);
[Unmanaged C++]
public: HRESULT SetPointingTargetedTracking(
   AgETrackModeType TrackModeType,
   AgEBoresightType AboutBoresightType,
   BSTR TargetPath,
   IAgSnPtTargeted ** ReturnValue
);

Parameters

TrackModeType
MemberValueDescription
eTrackModeReceive0Receive: the antenna is oriented slightly behind the current location of the other object.
eTrackModeTransmit1Transmit: the antenna is oriented slightly ahead of the current location of the other object.
eTrackModeTranspond2Transpond: the antenna points to the true location of the target object.
AboutBoresightType
MemberValueDescription
eBoresightHold0Hold: rotation about the Y axis followed by rotation about the new X-axis.
eBoresightLevel1Level: boresight is aligned with the line of sight to the target, while the sensor's x-axis is constrained to be in the plane parallel to the meridian plane passing through the target.
eBoresightRotate2Rotate: rotation about the sensor's or antenna's Z axis by the azimuth angle, followed by rotation about the new Y axis by 90 degrees minus the elevation angle.
TargetPath

Example

Define targeted sensor pointing
[C#]Copy Code
IAgSnPtTargeted targetedSensor = sensor.CommonTasks.SetPointingTargetedTracking( 
    AgETrackModeType.eTrackModeTransmit, AgEBoresightType.eBoresightLevel, "*/AreaTarget/AreaTarget1"); 
 

Define targeted sensor pointing
[Visual Basic .NET]Copy Code
Dim targetedSensor As IAgSnPtTargeted = sensor.CommonTasks.SetPointingTargetedTracking(AgETrackModeType.eTrackModeTransmit, AgEBoresightType.eBoresightLevel, "*/AreaTarget/AreaTarget1")

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.