GlobalCoverageGrid Constructor (TerrainProvider, CentralBody, Double) |
Namespace:
AGI.Foundation.Geometry.Discrete
Assembly:
AGI.Foundation.Spatial (in AGI.Foundation.Spatial.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic GlobalCoverageGrid(
TerrainProvider terrainProvider,
CentralBody centralBody,
double resolution
)
Public Sub New (
terrainProvider As TerrainProvider,
centralBody As CentralBody,
resolution As Double
)
public:
GlobalCoverageGrid(
TerrainProvider^ terrainProvider,
CentralBody^ centralBody,
double resolution
)
new :
terrainProvider : TerrainProvider *
centralBody : CentralBody *
resolution : float -> GlobalCoverageGridParameters
- terrainProvider
- Type: AGI.Foundation.TerrainTerrainProvider
The TerrainProvider used to generate the height of the grid points. - centralBody
- Type: AGI.Foundation.CelestialCentralBody
The CentralBody representing the globe. - resolution
- Type: SystemDouble
The requested resolution, in radians, representing an upper bound
to the angular spacing between grid points.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException | Thrown if the resolution is set to less than or equal to 0. |
| ArgumentNullException |
Thrown if terrainProvider or centralBody is .
|
See Also