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 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 LatitudeBoundsCoverageGrid(
	TerrainProvider terrainProvider,
	CentralBody centralBody,
	double minimumLatitude,
	double maximumLatitude,
	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 central body on which this grid is defined.
minimumLatitude
Type: System.Double
The south-most planetodetic latitude bounding the grid, in radians.
maximumLatitude
Type: System.Double
The north-most planetodetic latitude bounding the grid, in radians.
resolution
Type: System.Double
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 null.
See Also