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 .

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,
	CentralBody centralBody,
	double resolution
)

Parameters

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