STK Vector Geometry ToolSend comments on this topic.
FindIntervals Method (IAgCrdnEventIntervalList)
See Also
Windows





Windows & Linux

Description

Return computed interval list that can be empty.

Syntax

[Visual Basic .NET]
Public Function FindIntervals() As IAgCrdnIntervalListResult
[C#]
public IAgCrdnIntervalListResult FindIntervals();
[Managed C++]
public: IAgCrdnIntervalListResult ^ FindIntervals();
[Unmanaged C++]
public: HRESULT FindIntervals(
    IAgCrdnIntervalListResult ** ppRetVal
);
[Java]
public IAgCrdnIntervalListResult findIntervals();
[Python - STK API ]
def FindIntervals(self) -> "IAgCrdnIntervalListResult":

See Also

Example

Determines the event intervals contained in the interval list.
[C#]
IAgCrdnEventIntervalList intervalsList = provider.EventIntervalLists["AttitudeIntervals"];

IAgCrdnIntervalListResult intervals = intervalsList.FindIntervals();

if (intervals.IsValid)
{
    Console.WriteLine("Intervals:");
    foreach (IAgCrdnInterval interval in intervals.Intervals)
    {
        Console.WriteLine("Interval Start: " + interval.Start);
        Console.WriteLine("Interval Stop: " + interval.Stop);
    }
}
Determines the event intervals contained in the interval list.
[Visual Basic .NET]
Dim intervalsList As IAgCrdnEventIntervalList = provider.EventIntervalLists("AttitudeIntervals")

Dim intervals As IAgCrdnIntervalListResult = intervalsList.FindIntervals()

If intervals.IsValid Then
	Console.WriteLine("Intervals:")
	For Each interval As IAgCrdnInterval In intervals.Intervals
		Console.WriteLine("Interval Start: " + interval.Start)
		Console.WriteLine("Interval Stop: " + interval.[Stop])
	Next
End If
© 2024 Analytical Graphics, Inc. All Rights Reserved.