Click or drag to resize

AGIProcessedTerrainWriterWrite Method (CentralBody, RasterTerrainProvider, CartographicExtent, Uri, Boolean)

Converts a RasterTerrainProvider to an AGI Processed Data Terrain file for use as a TerrainOverlay.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 22.2.414.0 (22.2.414.0)
Syntax
public static void Write(
	CentralBody centralBody,
	RasterTerrainProvider terrainProvider,
	CartographicExtent extent,
	Uri pdttUri,
	bool overwriteExistingFile
)

Parameters

centralBody
Type: AGI.Foundation.CelestialCentralBody
The central body of the terrain.
terrainProvider
Type: AGI.Foundation.TerrainRasterTerrainProvider
The raster terrain provider.
extent
Type: AGI.Foundation.CoordinatesCartographicExtent
The extent of the terrain provider to convert. If not provided, the entire extent of the terrain provider is converted.
pdttUri
Type: SystemUri
The AGI Processed Data Terrain filename.
overwriteExistingFile
Type: SystemBoolean
If true and the AGI Processed Data Terrain file already exists, the file will be overwritten during the conversion.
See Also