Click or drag to resize

DiscreteCoverageDefinitionComputeCoverageOverTheGrid Method (JulianDate, JulianDate, 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: 24.3.420.0 (24.3.420.0)
Syntax
public CoverageResults ComputeCoverageOverTheGrid(
	JulianDate start,
	JulianDate stop,
	Duration step,
	ITrackCalculationProgress tracker
)

Parameters

start
Type: AGI.Foundation.TimeJulianDate
The start time of the interval to consider.
stop
Type: AGI.Foundation.TimeJulianDate
The stop time of the interval to consider.
step
Type: AGI.Foundation.TimeDuration
The stepsize 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