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





Windows & Linux

Description

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
);
[Unmanaged C++]
public: HRESULT ThresholdCrossings(
    BSTR ElemName,
    VARIANT Threshold,
    SAFEARRAY * * ppCrossings
);
[Java]
public AgSafeArray thresholdCrossings(
    String ElemName,
    AgVariant Threshold
);
[Python - STK API ]
def ThresholdCrossings(self, ElemName:str, Threshold:typing.Any) -> list:

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

© 2024 Analytical Graphics, Inc. All Rights Reserved.