AGI STK Objects 11 Send comments on this topic.
SetAzElMaskFile Method (IAgSensor)
See Also  Example
Filename
The file name to set the azel data.
Windows






Windows & Linux

Description

Path and file name of az-el mask file.

Syntax

[Visual Basic .NET]
Public Sub SetAzElMaskFile( _
   ByVal Filename As String _
) 

[C#]
public void SetAzElMaskFile(
string Filename
);

[Managed C++]
public: void SetAzElMaskFile(
String __gc ^ Filename
);

[Java]
public  setAzElMaskFile(
String Filename
);

[Unmanaged C++]
public: HRESULT SetAzElMaskFile(
BSTR Filename
);

Parameters

Filename
The file name to set the azel data.

Example

Define sensor to use azimuth elevation mask file
[C#] Copy Code
// Specify Mask file 
sensor.SetAzElMaskFile(maskFilePath); 
 
// Get Mask File interface 
IAgSnAzElMaskFile maskFile = sensor.AzElMaskData as IAgSnAzElMaskFile; 
 
// Configure MaskFile as needed 
maskFile.BoresightAxis = AgESnAzElBsightAxisType.ePlus_MinusZ; 
 

Define sensor to use azimuth elevation mask file
[Visual Basic .NET] Copy Code
' Specify Mask file
sensor.SetAzElMaskFile(maskFilePath)

' Get Mask File interface
Dim maskFile As IAgSnAzElMaskFile = TryCast(sensor.AzElMaskData, IAgSnAzElMaskFile)

' Configure MaskFile as needed
maskFile.BoresightAxis = AgESnAzElBsightAxisType.ePlus_MinusZ

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK 11.2.1 Programming Interface