Description
Adds data points with velocity
information.
Syntax
[Visual Basic .NET] |
Public Sub AddBatch( _
ByRef Times As System.Array, _
ByRef Lats As System.Array, _
ByRef Lons As System.Array, _
ByRef Alts As System.Array, _
ByRef LatRates As System.Array, _
ByRef LonRates As System.Array, _
ByRef AltRates As System.Array _
)
|
[Managed C++] |
public: void AddBatch(
System::Array ^^ Times,
System::Array ^^ Lats,
System::Array ^^ Lons,
System::Array ^^ Alts,
System::Array ^^ LatRates,
System::Array ^^ LonRates,
System::Array ^^ AltRates
);
|
Parameters
Example
Add realtime LLA
positions in batches
[C#] |
Copy Code
|
Array times = new object[]
{
"1 Jan 2012 12:00:00.000",
"1 Jan 2012 12:01:00.000",
"1 Jan 2012 12:02:00.000"
};
Array lat = new object[]
{
39.693, 41.061, 39.925
};
Array lon = new object[]
{
-76.399, -74.266, -78.578
};
Array alt = new object[]
{
0.039, 0.0420, 0.281
};
Array latrate = new object[]
{
0.03458, 0.03215, 0.03188
};
Array lonrate = new object[]
{
0.01223, 0.01148, 0.01075
};
Array altrate = new object[]
{
0.05402, 0.05210, 0.05075
};
IAgVeRealtimeLLAPoints points = propagator.PointBuilder.LLA;
points.AddBatch(ref times, ref lat, ref lon, ref alt, ref latrate, ref lonrate, ref altrate);
|
|
Add realtime LLA
positions in batches
[Visual Basic .NET] |
Copy Code
|
#If Not CSToJava Then
#Else
#End If
Dim times As Array =
New Object() {"1 Jan 2012
12:00:00.000", "1 Jan 2012
12:01:00.000", "1 Jan 2012
12:02:00.000"}
#If Not CSToJava Then
#Else
#End If
Dim lat As Array =
New Object() {39.693, 41.061, 39.925}
#If Not CSToJava Then
#Else
#End If
Dim lon As Array =
New Object() {-76.399, -74.266, -78.578}
#If Not CSToJava Then
#Else
#End If
Dim alt As Array =
New Object() {0.039, 0.042, 0.281}
#If Not CSToJava Then
#Else
#End If
Dim latrate As Array =
New Object() {0.03458, 0.03215, 0.03188}
#If Not CSToJava Then
#Else
#End If
Dim lonrate As Array =
New Object() {0.01223, 0.01148, 0.01075}
#If Not CSToJava Then
#Else
#End If
Dim altrate As Array =
New Object() {0.05402, 0.0521, 0.05075}
Dim points As IAgVeRealtimeLLAPoints =
propagator.PointBuilder.LLA
#If Not CSToJava Then
points.AddBatch(times, lat, lon, alt, latrate, lonrate, _
altrate)
#Else
#End If
|
|
See Also