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: 24.2.419.0 (24.2.419.0)
Syntax public IntersectionWithSurfaceRegionsCoverageGrid(
TerrainProvider terrainProvider,
CentralBodyCoverageGrid gridPointProvider,
params EllipsoidSurfaceRegion[] intersectingRegions
)
Public Sub New (
terrainProvider As TerrainProvider,
gridPointProvider As CentralBodyCoverageGrid,
ParamArray intersectingRegions As EllipsoidSurfaceRegion()
)
public:
IntersectionWithSurfaceRegionsCoverageGrid(
TerrainProvider^ terrainProvider,
CentralBodyCoverageGrid^ gridPointProvider,
... array<EllipsoidSurfaceRegion^>^ intersectingRegions
)
new :
terrainProvider : TerrainProvider *
gridPointProvider : CentralBodyCoverageGrid *
intersectingRegions : EllipsoidSurfaceRegion[] -> IntersectionWithSurfaceRegionsCoverageGrid
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 Exception | Condition |
---|
ArgumentNullException |
Thrown if terrainProvider or gridPointProvider is null,
or if null is passed in as an intersecting region.
|
InvalidOperationException | Thrown 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