Click or drag to resize

GlobalCoverageGrid Constructor (TerrainProvider, CentralBody, 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,
	CentralBody centralBody,
	double resolution
)

Parameters

terrainProvider
Type: AGI.Foundation.Terrain.TerrainProvider
The TerrainProvider used to generate the height of the grid points.
centralBody
Type: AGI.Foundation.Celestial.CentralBody
The CentralBody representing the globe.
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 if terrainProvider or centralBody is null.
See Also