Click or drag to resize

IntersectionWithSurfaceRegionsCoverageGrid Constructor (TerrainProvider, CentralBodyCoverageGrid, EllipsoidSurfaceRegion)

Construct a new instance based on the generator and down selector passed in.

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 IntersectionWithSurfaceRegionsCoverageGrid(
	TerrainProvider terrainProvider,
	CentralBodyCoverageGrid gridPointProvider,
	params EllipsoidSurfaceRegion[] intersectingRegions
)

Parameters

terrainProvider
Type: AGI.Foundation.TerrainTerrainProvider
The TerrainProvider used to generate the height of the grid points.
gridPointProvider
Type: AGI.Foundation.Geometry.DiscreteCentralBodyCoverageGrid
The CentralBodyCoverageGrid used to generate the points, normally the less restrictive of the two.
intersectingRegions
Type: AGI.Foundation.Geometry.ShapesEllipsoidSurfaceRegion
The set of regions to use to select grid points from gridPointProvider.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if terrainProvider or gridPointProvider is null, or if null is passed in as an intersecting region.
InvalidOperationExceptionThrown if there is a conflict between the ReferenceSurface of the given gridPointProvider and one of the intersectingRegions.
Remarks
Resolution is set to the resolution of the generator. FixedFrame is set to be the FixedFrame of the generator. If terrainProvider is a different ReferenceTerrain than the one found in gridPointProvider the instance will adopt the new terrainProvider without modifying gridPointProvider. The reference frame when using this constructor is set to the terrain provider's fixed frame.
See Also