Click or drag to resize

DiscreteCoverageDefinitionComputeCoverageOverTheGrid Method (TimeIntervalCollection, Duration, 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: 19.1.398.0 (19.1.398.0)
Syntax
public CoverageResults ComputeCoverageOverTheGrid(
	TimeIntervalCollection consideredIntervals,
	Duration step,
	ITrackCalculationProgress tracker
)

Parameters

consideredIntervals
Type: AGI.Foundation.TimeTimeIntervalCollection
The time intervals to consider for the coverage calculation.
step
Type: AGI.Foundation.TimeDuration
The step size used to sample access.
tracker
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.
Exceptions
ExceptionCondition
PropertyInvalidException Thrown if the Grid, GridPointService, or Filter property is . Also thrown if either GridPointCreationCallback or GridPointPlaceholder is null, depending upon which is relevant.
InvalidOperationException

Thrown in several circumstances:

No Assets have been specified.

Duplicate Assets were specified.

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

See Also