Click or drag to resize

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

Construct a new instance based on a given reference surface, 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: 19.1.398.0 (19.1.398.0)
Syntax
public SpecifiedCentralBodyCoverageGrid(
	CentralBody centralBody,
	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.
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 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