Click or drag to resize

EllipsoidGridRegions Constructor (TerrainProvider, Double, IEnumerableEllipsoidSurfaceRegion)

Create a new instance based on a given TerrainProvider, resolution and a set of polygonal regions.

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 EllipsoidGridRegions(
	TerrainProvider terrainProvider,
	double resolution,
	IEnumerable<EllipsoidSurfaceRegion> regions
)

Parameters

terrainProvider
Type: AGI.Foundation.TerrainTerrainProvider
The TerrainProvider used to generate the height of the grid points.
resolution
Type: SystemDouble
The resolution, in radians, representing the requested spacing between grid points.
regions
Type: System.Collections.GenericIEnumerableEllipsoidSurfaceRegion
The set of polygonal regions which define the grid.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown if the ReferenceSurfaces of the TerrainProvider conflict with the EllipsoidSurfaceRegions conflict.
ArgumentOutOfRangeExceptionThrown if the resolution is set to less than or equal to 0.
See Also