AGI STK Objects 11 Send comments on this topic.
ComputedAccessIntervalTimes Property (IAgStkAccess)
See Also  Example





Description

Returns a list of the computed access interval times.

Property type

Read-only property

Syntax

[Visual Basic .NET]
Public Property ComputedAccessIntervalTimes() As IAgIntervalCollection

[C#]
public IAgIntervalCollection ComputedAccessIntervalTimes {get;}

[Managed C++]
public: __property IAgIntervalCollection^ get_ComputedAccessIntervalTimes();

[Unmanaged C++]
public: HRESULT get_ComputedAccessIntervalTimes(
IAgIntervalCollection ** ppRetVal
);

[Java]
public IAgIntervalCollection getComputedAccessIntervalTimes();

Example

Compute and extract access interval times
[C#] Copy Code
// Get and display the Computed Access Intervals 
IAgIntervalCollection intervalCollection = access.ComputedAccessIntervalTimes; 
 
// Set the intervals to use to the Computed Access Intervals 
Array computedIntervals = intervalCollection.ToArray(0, -1); 
access.SpecifyAccessIntervals(ref computedIntervals); 
 

Compute and extract access interval times
[Visual Basic .NET] Copy Code
' Get and display the Computed Access Intervals
Dim intervalCollection As IAgIntervalCollection = access.ComputedAccessIntervalTimes

' Set the intervals to use to the Computed Access Intervals
Dim computedIntervals As Array = intervalCollection.ToArray(0, -1)
#If Not CSToJava Then
access.SpecifyAccessIntervals(computedIntervals)
#Else
#End If

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1