Click or drag to resize

EllipsoidGridIntersection Constructor (TerrainProvider, EllipsoidGrid, 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)
public EllipsoidGridIntersection(
	TerrainProvider terrainProvider,
	EllipsoidGrid gridPointProvider,
	params EllipsoidSurfaceRegion[] intersectingRegions


Type: AGI.Foundation.TerrainTerrainProvider
The TerrainProvider used to generate the height of the grid points.
Type: AGI.Foundation.Geometry.DiscreteEllipsoidGrid
The EllipsoidGrid 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.
See Also