Click or drag to resize

TimeIntervalFinderFindIntervals Method (JulianDate, Boolean, JulianDate, Boolean, ITrackCalculationProgress)

Finds the intervals on which the Function satisfies the ConstraintValue over the specified interval.

Namespace:  AGI.Foundation.NumericalMethods
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 22.2.414.0 (22.2.414.0)
Syntax
public TimeIntervalCollection FindIntervals(
	JulianDate start,
	bool isStartIncluded,
	JulianDate stop,
	bool isStopIncluded,
	ITrackCalculationProgress tracker
)

Parameters

start
Type: AGI.Foundation.TimeJulianDate
The beginning of the interval on which to search.
isStartIncluded
Type: SystemBoolean
if the start date is included in the interval; otherwise .
stop
Type: AGI.Foundation.TimeJulianDate
The end of the interval on which to search.
isStopIncluded
Type: SystemBoolean
if the stop date is included in the interval; otherwise .
tracker
Type: AGI.FoundationITrackCalculationProgress
The object to which progress is reported and that is able to cancel this operation before it is complete, or .

Return Value

Type: TimeIntervalCollection
A collection of intervals on which the function satisfies the constraint.
Exceptions
ExceptionCondition
InvalidOperationException Thrown when the threshold crossings of the function are not consistent. This usually indicates that a singularity exists near the threshold value.
See Also