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





Description

IAgSnPtSpinning Interface for defining the pointing properties of a spinning sensor.

Public Methods

Public Method SetClockAngles Method to set both the start and stop clock angles. Start/Stop use Angle Dimension.

Public Properties

Public Property ClockAngleStart The start angle, i.e. the angle about the sensor's spin axis at which scanning begins. Zero is relative to the X axis in the spin axis coordinate frame. Uses Angle Dimension.
Public Property ClockAngleStop The stop angle, i.e. the angle about the sensor's spin axis at which scanning ends and/or reverses direction. Uses Angle Dimension.
Public Property OffsetAngle The initial offset angle, i.e. the angle about the spin axis where the sensor boresight is at time zero. Uses Angle Dimension.
Public Property ScanMode The scan mode of the sensor, a member of the AgESnScanMode enumeration.
Public Property SpinAxisAzimuth The azimuth of the spin axis, i.e. the angle from the parent object's +X axis about the +Z axis in a right-handed sense. Uses Angle Dimension.
Public Property SpinAxisConeAngle The cone angle used in defining the spin axis, i.e. the angle between the spin axis and the sensor boresight. As the boresight spins about the spin axis, it maintains this angular distance away from the spin axis. Uses Angle Dimension.
Public Property SpinAxisElevation the elevation of the spin axis, i.e. the angle between the spin axis and the parent object's body-fixed XY plane, measured as positive in the direction of the parent object's body-fixed +Z axis. Uses Angle Dimension.
Public Property SpinRate The spin rate, i.e. the rate at which the boresight spins about the spin axis, measured in revolutions per minute. The spin is positive in a right-handed sense about the spin axis. Negative rate can be used to create a spin in the opposite direction. Uses AngleRate Dimension.

Example

Define spinning sensor pointing
[C#] Copy Code
// Set pattern type to Spinning 
sensor.SetPointingType(AgESnPointing.eSnPtSpinning); 
IAgSnPtSpinning spinning = sensor.Pointing as IAgSnPtSpinning; 
 
// Configure sensor 
spinning.SpinAxisAzimuth = 14.24
spinning.SpinAxisElevation = 7.68
spinning.SpinAxisConeAngle = 42.46
spinning.ScanMode = AgESnScanMode.eSnContinuous; 
spinning.SpinRate = 88.921
spinning.OffsetAngle = 110.44
 

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 spinning sensor pointing
[Visual Basic .NET] Copy Code
' Set pattern type to Spinning
sensor.SetPointingType(AgESnPointing.eSnPtSpinning)
Dim spinning As IAgSnPtSpinning = TryCast(sensor.Pointing, IAgSnPtSpinning)

' Configure sensor
spinning.SpinAxisAzimuth = 14.24
spinning.SpinAxisElevation = 7.68
spinning.SpinAxisConeAngle = 42.46
spinning.ScanMode = AgESnScanMode.eSnContinuous
spinning.SpinRate = 88.921
spinning.OffsetAngle = 110.44

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)

CoClasses that Implement IAgSnPtSpinning

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1