Click or drag to resize

CoverageGaps.TotalNumberOfGapsInSpan Method

Computes the total number of gaps which are above a minimum and below a maximum duration.

Namespace:  AGI.Foundation.Coverage.FigureOfMerit
Assembly:  AGI.Foundation.Spatial (in AGI.Foundation.Spatial.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public static int TotalNumberOfGapsInSpan(
	CoverageQueryResult coverageIntervals,
	double min,
	double max
)

Parameters

coverageIntervals
Type: AGI.Foundation.Coverage.CoverageQueryResult
The intervals of coverage.
min
Type: System.Double
The minimum duration of a gap (in seconds).
max
Type: System.Double
The maximum duration of a gap (in seconds).

Return Value

Type: Int32
The number of gaps which fall within the given bounds on gap duration.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when coverageIntervals is null.
Remarks
If there are gaps at the beginning or end, their duration will be the time between the interval of coverage and the beginning or end of the overall interval.
See Also