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





Description

The common tasks available for the sensor object

Object Model




















Public Methods

Public Method SetPatternComplexConic Defines the sensor using a complex conic pattern.
Public Method SetPatternCustom Defines the sensor using a custom pattern.
Public Method SetPatternEOIR Defines the sensor using a EOIR pattern.
Public Method SetPatternHalfPower Defines the sensor using a half power pattern.
Public Method SetPatternRectangular Defines the sensor using a rectangular pattern.
Public Method SetPatternSAR Defines the sensor using a SAR pattern.
Public Method SetPatternSimpleConic Defines the sensor using a simple conic pattern.
Public Method SetPointing3DModel Sets the pointing method to 3DModel.
Public Method SetPointingFixedAxesAzEl Sets the pointing method to FixedAxes with an AzEl orientation.
Public Method SetPointingFixedAxesEuler Sets the pointing method to FixedAxes with a Euler Angles orientation.
Public Method SetPointingFixedAxesQuat Sets the pointing method to FixedAxes with a Quaternion orientation.
Public Method SetPointingFixedAxesYPR Sets the pointing method to FixedAxes with a YPR Angles orientation.
Public Method SetPointingFixedAzEl Sets the pointing method to Fixed with an AzEl orientation.
Public Method SetPointingFixedEuler Sets the pointing method to Fixed with a Euler Angles orientation.
Public Method SetPointingFixedQuat Sets the pointing method to Fixed with a Quaternion orientation.
Public Method SetPointingFixedYPR Sets the pointing method to Fixed with a YPR Angles orientation.
Public Method SetPointingGrazingAlt Sets the pointing method to GrazingAlt.
Public Method SetPointingSpinning Sets the pointing method to Spinning.
Public Method SetPointingTargetedTracking Sets the pointing method to Targeted with Tracking.

Example

Define a simple conic sensor
[C#] Copy Code
IAgSnSimpleConicPattern patternData = sensor.CommonTasks.SetPatternSimpleConic(40.00.1); 
 

Define a complex sensor
[C#] Copy Code
IAgSnComplexConicPattern patterndata = sensor.CommonTasks.SetPatternComplexConic(10.070.020.0220.0); 
patterndata.AngularResolution = 0.5
 

Define a custom sensor
[C#] Copy Code
// Set pattern type to Custom 
IAgSnCustomPattern customPattern = sensor.CommonTasks.SetPatternCustom(sensorPatternPath); 
customPattern.AngularResolution = 6.0
customPattern.UseNativeResolution = false
 

Define a half power sensor
[C#] Copy Code
// Configure pattern 
IAgSnHalfPowerPattern pattern = sensor.CommonTasks.SetPatternHalfPower(12.53.46.0); 
 

Define a SAR sensor
[C#] Copy Code
// Configure pattern 
IAgSnSARPattern patterndata = sensor.CommonTasks.SetPatternSAR(10.060.040.030.0700.0); 
 

Define fixed sensor pointing
[C#] Copy Code
IAgSnPtFixed fixedSensor = sensor.CommonTasks.SetPointingFixedAzEl(4.5, -45.0, AgEAzElAboutBoresight.eAzElAboutBoresightRotate); 
 

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

Define spinning sensor pointing (using common tasks)
[C#] Copy Code
// 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] Copy Code
Dim patternData As IAgSnSimpleConicPattern = sensor.CommonTasks.SetPatternSimpleConic(40, 0.1)

Define a complex sensor
[Visual Basic .NET] Copy Code
Dim patterndata As IAgSnComplexConicPattern = sensor.CommonTasks.SetPatternComplexConic(10, 70, 20, 220)
patterndata.AngularResolution = 0.5

Define a custom sensor
[Visual Basic .NET] Copy Code
' 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] Copy Code
' Configure pattern
Dim pattern As IAgSnHalfPowerPattern = sensor.CommonTasks.SetPatternHalfPower(12.5, 3.4, 6)

Define a SAR sensor
[Visual Basic .NET] Copy Code
' Configure pattern
Dim patterndata As IAgSnSARPattern = sensor.CommonTasks.SetPatternSAR(10, 60, 40, 30, 700)

Define fixed sensor pointing
[Visual Basic .NET] Copy Code
Dim fixedSensor As IAgSnPtFixed = sensor.CommonTasks.SetPointingFixedAzEl(4.5, -45, AgEAzElAboutBoresight.eAzElAboutBoresightRotate)

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

Define spinning sensor pointing (using common tasks)
[Visual Basic .NET] Copy Code
' Configure sensor (using common taks)
sensor.CommonTasks.SetPointingSpinning(14.24, 7.68, 42.46, AgESnScanMode.eSnContinuous, 88.921, 110.44, _
    1.2, 3.5)

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1