AGI STK Objects 11 Send comments on this topic.
ThresholdCrossings Method (IAgDrInterval)
See Also 
ElemName
The element name
Threshold
The threshold to be crossed.





Description

ThresholdCrossings returns a two-dimensional array containing time and direction data (negative for decreasing). The DataSets property must contain the Time dataset for this method to work correctly.

Syntax

[Visual Basic .NET]
Public Function ThresholdCrossings( _
   ByVal ElemName As String, _
   ByVal Threshold As System.Object _
) As System.Array

[C#]
public System.Array ThresholdCrossings(
string ElemName,
System.Object Threshold
);

[Managed C++]
public: System::Array ThresholdCrossings(
String __gc ^ ElemName,
VARIANT Threshold
);

[Java]
public Object[] thresholdCrossings(
String ElemName,
Variant Threshold
);

[Unmanaged C++]
public: HRESULT ThresholdCrossings(
BSTR ElemName,
VARIANT Threshold,
SAFEARRAY ** Array
);

Parameters

ElemName
The element name
Threshold
The threshold to be crossed.

Return Type

A two-dimensional array with time and direction. The direction value will be positive if it is increasing when crossing the threshold and negative if it is decreasing when crossing it.

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1