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





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
Member Value Description
eTrackModeReceive 0 Receive: the antenna is oriented slightly behind the current location of the other object.
eTrackModeTransmit 1 Transmit: the antenna is oriented slightly ahead of the current location of the other object.
eTrackModeTranspond 2 Transpond: the antenna points to the true location of the target object.
AboutBoresightType
Member Value Description
eBoresightHold 0 Hold: rotation about the Y axis followed by rotation about the new X-axis.
eBoresightLevel 1 Level: 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.
eBoresightRotate 2 Rotate: 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

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1