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 true.

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

Parameters

terrainProvider
Type: AGI.Foundation.Terrain.TerrainProvider
The TerrainProvider used to generate the height of the grid points.
resolution
Type: System.Double
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 null.
See Also