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
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), 4, 3);
points.SetValue(6.9346423789e+01, 0, 0);
points.SetValue(-5.0260748372e+01, 0, 1);
points.SetValue(0.0000000000e+00, 0, 2);
points.SetValue(3.9613371741e+01, 1, 0);
points.SetValue(-6.6285429903e+01, 1, 1);
points.SetValue(0.0000000000e+00, 1, 2);
points.SetValue(3.9880319688e+01, 2, 0);
points.SetValue(-7.3881767479e+01, 2, 1);
points.SetValue(0.0000000000e+00, 2, 2);
points.SetValue(-4.0700636942e+01, 3, 0);
points.SetValue(-1.1224999998e+02, 3, 1);
points.SetValue(0.0000000000e+00, 3, 2);
AG_COV.PointDefinition.SetPointsLLA(ref points);
|
|
See Also