Click or drag to resize

DiscreteCoverageDefinitionComputeCoverageOverTheGrid Method (TimeIntervalCollection, Duration)

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.2.419.0 (24.2.419.0)
Syntax
public CoverageResults ComputeCoverageOverTheGrid(
	TimeIntervalCollection consideredIntervals,
	Duration step
)

Parameters

consideredIntervals
Type: AGI.Foundation.TimeTimeIntervalCollection
The time intervals to consider for the coverage calculation.
step
Type: AGI.Foundation.TimeDuration
The stepsize used to sample access.

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