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.3.420.0 (24.3.420.0)
Syntax public static int TotalNumberOfGapsInSpan(
CoverageQueryResult coverageIntervals,
double min,
double max
)
Public Shared Function TotalNumberOfGapsInSpan (
coverageIntervals As CoverageQueryResult,
min As Double,
max As Double
) As Integer
public:
static int TotalNumberOfGapsInSpan(
CoverageQueryResult^ coverageIntervals,
double min,
double max
)
static member TotalNumberOfGapsInSpan :
coverageIntervals : CoverageQueryResult *
min : float *
max : float -> int
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:
Int32The number of gaps which fall within the given bounds on gap duration.
Exceptions 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