Click or drag to resize

ContinuousCoverageDefinitionComputeCoverageOverTheGrid Method (TimeIntervalCollection, ITrackCalculationProgress)

Computes the CoverageResults which stores the results of this calculation for the whole grid. Results for each grid point are stored in a CoverageQueryResult, the collection of which is contained by the overall result. Call this method after setting up the Grid and adding the desired Assets to the definition.

Namespace:  AGI.Foundation.Coverage
Assembly:  AGI.Foundation.Spatial (in AGI.Foundation.Spatial.dll) Version: 23.1.416.0 (23.1.416.0)
public CoverageResults ComputeCoverageOverTheGrid(
	TimeIntervalCollection consideredIntervals,
	ITrackCalculationProgress tracker


Type: AGI.Foundation.TimeTimeIntervalCollection
The time intervals over which coverage is to be computed.
Type: AGI.FoundationITrackCalculationProgress
A tracker which can track the progress of the calculation and provides a way to smoothly cancel execution.

Return Value

Type: CoverageResults
The result of computing coverage over the grid.
PropertyInvalidException Thrown if the Grid, GridPointService, or Filter property is .

Thrown in several circumstances:

No Assets have been specified.

Duplicate Assets were specified.

No grid points were generated with the supplied definition of Grid.

ArgumentNullExceptionThrown if consideredIntervals is .
If a cancellation request is made on the tracker during the calculation, the result returned will be null.
See Also