Click or drag to resize

LatitudeBoundsCoverageGrid Constructor (TerrainProvider, CentralBody, Double, Double, Double)

Construct a new instance based on the given terrain and planetodetic latitude bounds. Both SaveGridCell and UseCellSurfaceAreaForWeight are set to .

Namespace:  AGI.Foundation.Geometry.Discrete
Assembly:  AGI.Foundation.Spatial (in AGI.Foundation.Spatial.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public LatitudeBoundsCoverageGrid(
	TerrainProvider terrainProvider,
	CentralBody centralBody,
	double minimumLatitude,
	double maximumLatitude,
	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 central body on which this grid is defined.
minimumLatitude
Type: SystemDouble
The south-most planetodetic latitude bounding the grid, in radians.
maximumLatitude
Type: SystemDouble
The north-most planetodetic latitude bounding the grid, in radians.
resolution
Type: SystemDouble
The requested resolution, in radians, representing an upper bound to the angular spacing between grid points.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if either latitude is outside the range from -pi/2 to pi/2, or the resolution is less than or equal to 0.
ArgumentNullExceptionThrown if terrainProvider or centralBody is .
See Also