AGI STK Objects 11 Send comments on this topic.
SetPointsLLA Method (IAgCvPointDefinition)
See Also  Example
LLAPoints





Description

Method that uses an array of latitude/longitude/altitude vaues to define a coverage grid point.

Syntax

[Visual Basic .NET]
Public Sub SetPointsLLA( _
   ByRef LLAPoints As System.Array _
) 

[C#]
public void SetPointsLLA(
ref System.Array LLAPoints
);

[Managed C++]
public: void SetPointsLLA(
System::Array ^^ LLAPoints
);

[Java]
public  setPointsLLA(
Object[] LLAPoints
);

[Unmanaged C++]
public: HRESULT SetPointsLLA(
SAFEARRAY ** LLAPoints
);

Parameters

LLAPoints

Example

[C#] Copy Code
AG_COV.Grid.BoundsType = AgECvBounds.eBoundsCustomRegions; 
oBoundsCustom = AG_COV.Grid.Bounds as IAgCvBoundsCustomRegions; 
oBoundsCustom.RegionFiles.Add(GetScenarioFile(@"CovDefTest\usstates.rl")); 
oBoundsCustom.AreaTargets.Add("AreaTarget/Crosses0AT"); 
 
System.Array points= Array.CreateInstance(typeof(Object), 43); 
points.SetValue(6.9346423789e+0100); 
points.SetValue(-5.0260748372e+0101); 
points.SetValue(0.0000000000e+0002); 
points.SetValue(3.9613371741e+0110); 
points.SetValue(-6.6285429903e+0111); 
points.SetValue(0.0000000000e+0012); 
points.SetValue(3.9880319688e+0120); 
points.SetValue(-7.3881767479e+0121); 
points.SetValue(0.0000000000e+0022); 
points.SetValue(-4.0700636942e+0130); 
points.SetValue(-1.1224999998e+0231); 
points.SetValue(0.0000000000e+0032); 
AG_COV.PointDefinition.SetPointsLLA(ref points); 

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1