Click or drag to resize

CoverageGapsTotalNumberOfGapsInSpan 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.2.419.0 (24.2.419.0)
Syntax
public static int TotalNumberOfGapsInSpan(
	CoverageQueryResult coverageIntervals,
	double min,
	double max
)

Parameters

coverageIntervals
Type: AGI.Foundation.CoverageCoverageQueryResult
The intervals of coverage.
min
Type: SystemDouble
The minimum duration of a gap (in seconds).
max
Type: SystemDouble
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 .
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