Description
Provides access to the properties and methods
used in defining a target object.
Object Model
Public Methods
GetAzElMask |
Method to get the az-el
mask. A member of the AgEAzElMaskType enumeration. |
GetAzElMaskData |
Method to get az-el mask
data. |
ResetAzElMask |
Method to reset the az-el
mask. |
SetAzElMask |
Method to set an az-el
mask. A member of the AgEAzElMaskType enumeration. |
Public Properties
AccessConstraints |
Get the constraints imposed
on the target. |
AltRef |
The altitude reference of
the object. |
Atmosphere |
The local atmosphere. |
Graphics |
Get the 2D Graphics
properties of the target. |
HeightAboveGround |
The height of the target
above its model of the ground. The height is measured along the
normal to surface defined by reference ellipsoid of the central
body. The target models the ground as an ellipsoid passing through
the ground position. Uses Distance Dimension. |
LocalTimeOffset |
The amount of the time
offset from GMT, if this option is used. Uses Time Dimension. |
Position |
Get the position of the
target. |
RadarClutterMap |
Returns the radar clutter
map. |
RadarCrossSection |
Returns the radar cross
sectoin. |
TerrainNorm |
The method for determining
the normal to the local terrain. |
TerrainNormData |
Data used in specifying
terrain slope. |
UseLocalTimeOffset |
Opt whether to use a local
time offset from GMT. |
UseTerrain |
Opt whether to set altitude
automatically by using terrain data. |
VO |
Get the 3D Graphics
properties of the target. |
Example
Create a target (on
the current scenario central body)
[C#] |
Copy Code
|
IAgTarget areaTarget = root.CurrentScenario.Children.New(AgESTKObjectType.eAreaTarget, "MyAreaTarget") as IAgTarget;
|
|
Change a target
position
[C#] |
Copy Code
|
IAgPosition pos = target.Position;
pos.AssignGeodetic(39.95, 15.58, 231.54);
|
|
Configure a target
from azimuth mask file
[C#] |
Copy Code
|
target.UseLocalTimeOffset = true;
target.LocalTimeOffset = 200.0;
target.UseTerrain = true;
target.SetAzElMask(AgEAzElMaskType.eMaskFile, maskfile);
target.TerrainNorm = AgETerrainNormType.eSlopeAzimuth;
target.AltRef = AgEAltRefType.eMSL;
target.HeightAboveGround = 1472.0;
|
|
Create a target (on
the current scenario central body)
[Visual Basic .NET] |
Copy Code
|
Dim areaTarget As IAgTarget =
TryCast(root.CurrentScenario.Children.[New](AgESTKObjectType.eAreaTarget,
"MyAreaTarget"), IAgTarget)
|
|
Change a target
position
[Visual Basic .NET] |
Copy Code
|
Dim pos As
IAgPosition = target.Position
pos.AssignGeodetic(39.95, 15.58, 231.54)
|
|
Configure a target
from azimuth mask file
[Visual Basic .NET] |
Copy Code
|
target.UseLocalTimeOffset =
True
target.LocalTimeOffset = 200
target.UseTerrain = True
target.SetAzElMask(AgEAzElMaskType.eMaskFile, maskfile)
target.TerrainNorm = AgETerrainNormType.eSlopeAzimuth
target.AltRef = AgEAltRefType.eMSL
target.HeightAboveGround = 1472
|
|
CoClasses that Implement IAgTarget