Click or drag to resize

GlobalCoverageGrid Constructor (TerrainProvider, Double)

Initializes a new instance based on the given terrain. Both SaveGridCell and UseCellSurfaceAreaForWeight are set to .

Namespace:  AGI.Foundation.Geometry.Discrete
Assembly:  AGI.Foundation.Spatial (in AGI.Foundation.Spatial.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public GlobalCoverageGrid(
	TerrainProvider terrainProvider,
	double resolution
)

Parameters

terrainProvider
Type: AGI.Foundation.TerrainTerrainProvider
The TerrainProvider used to generate the height of the grid points.
resolution
Type: SystemDouble
The requested resolution, in radians, representing an upper bound to the angular spacing between grid points.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if the resolution is set to less than or equal to 0.
ArgumentNullException Thrown when terrainProvider is .
See Also