Click or drag to resize

SpecifiedCentralBodyCoverageGrid Constructor (CentralBody, TerrainProvider, IListCartographic, IListCartographicExtent, Boolean, Boolean)

Construct a new instance based on a given reference terrain, a list of Cartographic points, and the corresponding extents of each grid cell.

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 SpecifiedCentralBodyCoverageGrid(
	CentralBody centralBody,
	TerrainProvider terrainProvider,
	IList<Cartographic> points,
	IList<CartographicExtent> gridPointExtents,
	bool useCellSurfaceAreaForWeight,
	bool saveGridCell
)

Parameters

centralBody
Type: AGI.Foundation.CelestialCentralBody
The central body on which this grid is defined.
terrainProvider
Type: AGI.Foundation.TerrainTerrainProvider
The TerrainProvider used to generate the height of the grid points.
points
Type: System.Collections.GenericIListCartographic
The planetodetic locations of the grid points.
gridPointExtents
Type: System.Collections.GenericIListCartographicExtent
The extents of the grid point cells.
useCellSurfaceAreaForWeight
Type: SystemBoolean
Specifies if the surface area of the relevant extent is used for the grid weight, otherwise the value of 1 is used.
saveGridCell
Type: SystemBoolean
Specifies if the grid cell is to be saved.
Exceptions
ExceptionCondition
ArgumentExceptionThrown if the length of points does not match the length of gridPointExtents.
ArgumentNullExceptionThrown if terrainProvider, centralBody, points, or gridPointExtents is .
Remarks
When specifying Cartographic values, a rectangular grid point cell is assumed. If a non-rectangular grid cell is desired, extend CentralBodyCoverageGrid to implement the gridding algorithm along with the method to define the grid cell boundaries.
See Also