AGI STK Objects 11Send comments on this topic.
IAgSnCommonTasks Interface

Description

The common tasks available for the sensor object

Public Methods

Public Method SetPatternComplexConicDefines the sensor using a complex conic pattern.
Public Method SetPatternCustomDefines the sensor using a custom pattern.
Public Method SetPatternEOIRDefines the sensor using a EOIR pattern.
Public Method SetPatternHalfPowerDefines the sensor using a half power pattern.
Public Method SetPatternRectangularDefines the sensor using a rectangular pattern.
Public Method SetPatternSARDefines the sensor using a SAR pattern.
Public Method SetPatternSimpleConicDefines the sensor using a simple conic pattern.
Public Method SetPointing3DModelSets the pointing method to 3DModel.
Public Method SetPointingAlongVectorSets the pointing method to Along Vector.
Public Method SetPointingFixedAxesAzElSets the pointing method to FixedAxes with an AzEl orientation.
Public Method SetPointingFixedAxesEulerSets the pointing method to FixedAxes with a Euler Angles orientation.
Public Method SetPointingFixedAxesQuatSets the pointing method to FixedAxes with a Quaternion orientation.
Public Method SetPointingFixedAxesYPRSets the pointing method to FixedAxes with a YPR Angles orientation.
Public Method SetPointingFixedAzElSets the pointing method to Fixed with an AzEl orientation.
Public Method SetPointingFixedEulerSets the pointing method to Fixed with a Euler Angles orientation.
Public Method SetPointingFixedQuatSets the pointing method to Fixed with a Quaternion orientation.
Public Method SetPointingFixedYPRSets the pointing method to Fixed with a YPR Angles orientation.
Public Method SetPointingGrazingAltSets the pointing method to GrazingAlt.
Public Method SetPointingSpinningSets the pointing method to Spinning.
Public Method SetPointingTargetedTrackingSets the pointing method to Targeted with Tracking.

Example

Define a simple conic sensor
[C#]
IAgSnSimpleConicPattern patternData = sensor.CommonTasks.SetPatternSimpleConic(40.0, 0.1);
Define a complex sensor
[C#]
IAgSnComplexConicPattern patterndata = sensor.CommonTasks.SetPatternComplexConic(10.0, 70.0, 20.0, 220.0);
patterndata.AngularResolution = 0.5;
Define a custom sensor
[C#]
// Set pattern type to Custom
IAgSnCustomPattern customPattern = sensor.CommonTasks.SetPatternCustom(sensorPatternPath);
customPattern.AngularResolution = 6.0;
customPattern.UseNativeResolution = false;
Define a half power sensor
[C#]
// Configure pattern
IAgSnHalfPowerPattern pattern = sensor.CommonTasks.SetPatternHalfPower(12.5, 3.4, 6.0);
Define a SAR sensor
[C#]
// Configure pattern
IAgSnSARPattern patterndata = sensor.CommonTasks.SetPatternSAR(10.0, 60.0, 40.0, 30.0, 700.0);
Define fixed sensor pointing
[C#]
IAgSnPtFixed fixedSensor = sensor.CommonTasks.SetPointingFixedAzEl(4.5, -45.0, AgEAzElAboutBoresight.eAzElAboutBoresightRotate);
Define targeted sensor pointing
[C#]
IAgSnPtTargeted targetedSensor = sensor.CommonTasks.SetPointingTargetedTracking(
    AgETrackModeType.eTrackModeTransmit, AgEBoresightType.eBoresightLevel, "*/AreaTarget/AreaTarget1");
Define spinning sensor pointing (using common tasks)
[C#]
// Configure sensor (using common taks)
sensor.CommonTasks.SetPointingSpinning(
    14.24,
    7.68,
    42.46,
    AgESnScanMode.eSnContinuous,
    88.921,
    110.44,
    1.20,
    3.50);
Define a simple conic sensor
[Visual Basic .NET]
Dim patternData As IAgSnSimpleConicPattern = sensor.CommonTasks.SetPatternSimpleConic(40, 0.1)
Define a complex sensor
[Visual Basic .NET]
Dim patterndata As IAgSnComplexConicPattern = sensor.CommonTasks.SetPatternComplexConic(10, 70, 20, 220)
patterndata.AngularResolution = 0.5
Define a custom sensor
[Visual Basic .NET]
' Set pattern type to Custom
Dim customPattern As IAgSnCustomPattern = sensor.CommonTasks.SetPatternCustom(sensorPatternPath)
customPattern.AngularResolution = 6
customPattern.UseNativeResolution = False
Define a half power sensor
[Visual Basic .NET]
' Configure pattern
Dim pattern As IAgSnHalfPowerPattern = sensor.CommonTasks.SetPatternHalfPower(12.5, 3.4, 6)
Define a SAR sensor
[Visual Basic .NET]
' Configure pattern
Dim patterndata As IAgSnSARPattern = sensor.CommonTasks.SetPatternSAR(10, 60, 40, 30, 700)
Define fixed sensor pointing
[Visual Basic .NET]
Dim fixedSensor As IAgSnPtFixed = sensor.CommonTasks.SetPointingFixedAzEl(4.5, -45, AgEAzElAboutBoresight.eAzElAboutBoresightRotate)
Define targeted sensor pointing
[Visual Basic .NET]
Dim targetedSensor As IAgSnPtTargeted = sensor.CommonTasks.SetPointingTargetedTracking(AgETrackModeType.eTrackModeTransmit, AgEBoresightType.eBoresightLevel, "*/AreaTarget/AreaTarget1")
Define spinning sensor pointing (using common tasks)
[Visual Basic .NET]
' Configure sensor (using common taks)
sensor.CommonTasks.SetPointingSpinning(14.24, 7.68, 42.46, AgESnScanMode.eSnContinuous, 88.921, 110.44, _
	1.2, 3.5)
© 2019 Analytical Graphics, Inc. All Rights Reserved.