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






Windows & Linux

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 
[C#]
public System.Array ThresholdCrossings(
    string ElemName,
    System.Object Threshold
);
[Managed C++]
public: System::Array ThresholdCrossings(
    String __gc ^ ElemName,
    VARIANT Threshold
);
[Java]
public VariantArray thresholdCrossings(
    String ElemName,
    VARIANT Threshold
);
[Unmanaged C++]
public: HRESULT ThresholdCrossings(
    BSTR ElemName,
    VARIANT Threshold,
    SAFEARRAY * * ppCrossings
);

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

© 2019 Analytical Graphics, Inc. All Rights Reserved.