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


Type: AGI.Foundation.TerrainTerrainProvider
The TerrainProvider used to generate the height of the grid points.
Type: AGI.Foundation.Geometry.DiscreteCentralBodyCoverageGrid
The CentralBodyCoverageGrid used to generate the points, normally the less restrictive of the two.
Type: AGI.Foundation.Geometry.ShapesEllipsoidSurfaceRegion
The set of regions to use to select grid points from gridPointProvider.
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.
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