AGI STK Objects 11 Send comments on this topic.
IAgVeRealtimeLLAPoints Interface
Windows






Windows & Linux

Description

Adds one ephemeris point using latitude/longitude/altitude coordinate system

Public Methods

Public Method AddAdds an ephemeris point using position and velocity. Epoch uses DateFormat dimension. Lat uses Latitude dimension. Lon uses Longitude dimension. Alt uses Distance dimension.
Public Method AddBatchAdds data points with velocity information.
Public Method AddPositionAdds an ephemeris point without velocity. Epoch uses DateFormat dimension. Lat uses Latitude dimension. Lon uses Longitude dimension. Alt uses Distance dimension.
Public Method AddPositionBatchAdds data points without velocity information.

Example

Add realtime LLA positions
[C#]Copy Code
IAgVeRealtimeLLAPoints points = propagator.PointBuilder.LLA; 
points.Add("1 Jan 2012 12:00:00.000"39.693, -76.3990.0390.034580.012230.05402); 
 

Add realtime LLA positions in batches
[C#]Copy Code
// Add realtime LLA points in batches 
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.69341.06139.925 
            }; 
Array lon = new object[] 
            { 
                -76.399, -74.266, -78.578 
            }; 
Array alt = new object[] 
            { 
                0.0390.04200.281 
            }; 
Array latrate = new object[] 
                { 
                    0.034580.032150.03188 
                }; 
Array lonrate = new object[] 
                { 
                    0.012230.011480.01075 
                }; 
Array altrate = new object[] 
                { 
                    0.054020.052100.05075 
                }; 
 
IAgVeRealtimeLLAPoints points = propagator.PointBuilder.LLA; 
 
// AddBatch expects each parameter to be a one dimensional array and all of the same length 
points.AddBatch(ref times, ref lat, ref lon, ref alt, ref latrate, ref lonrate, ref altrate); 
 

Add realtime LLA positions
[Visual Basic .NET]Copy Code
Dim points As IAgVeRealtimeLLAPoints = propagator.PointBuilder.LLA
points.Add("1 Jan 2012 12:00:00.000", 39.693, -76.399, 0.039, 0.03458, 0.01223, _
    0.05402)

Add realtime LLA positions in batches
[Visual Basic .NET]Copy Code
' Add realtime LLA points in batches
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"}
Dim lat As Array = New Object() {39.693, 41.061, 39.925}
Dim lon As Array = New Object() {-76.399, -74.266, -78.578}
Dim alt As Array = New Object() {0.039, 0.042, 0.281}
Dim latrate As Array = New Object() {0.03458, 0.03215, 0.03188}
Dim lonrate As Array = New Object() {0.01223, 0.01148, 0.01075}
Dim altrate As Array = New Object() {0.05402, 0.0521, 0.05075}

Dim points As IAgVeRealtimeLLAPoints = propagator.PointBuilder.LLA

' AddBatch expects each parameter to be a one dimensional array and all of the same length
points.AddBatch(times, lat, lon, alt, latrate, lonrate, _
    altrate)

© 2018 Analytical Graphics, Inc. All Rights Reserved.