Click or drag to resize

SurfaceRegionsCoverageGrid Constructor (Double, CentralBody, IEnumerable<EllipsoidSurfaceRegion>)

Create a new instance based on a given resolution and a set of polygonal regions. Both SaveGridCell and UseCellSurfaceAreaForWeight are set to true.

Namespace:  AGI.Foundation.Geometry.Discrete
Assembly:  AGI.Foundation.Spatial (in AGI.Foundation.Spatial.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public SurfaceRegionsCoverageGrid(
	double resolution,
	CentralBody centralBody,
	IEnumerable<EllipsoidSurfaceRegion> regions
)

Parameters

resolution
Type: System.Double
The resolution, in radians, representing the requested spacing between grid points.
centralBody
Type: AGI.Foundation.Celestial.CentralBody
The central body on which the grid is defined.
regions
Type: System.Collections.Generic.IEnumerable<EllipsoidSurfaceRegion>
The set of polygonal regions which define the grid.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown if the ReferenceSurfaces of the EllipsoidSurfaceRegions conflict.
ArgumentOutOfRangeExceptionThrown if the resolution is set to less than or equal to 0.
ArgumentNullExceptionThrown if regions or centralBody is null.
See Also