Click or drag to resize

AGIProcessedTerrainWriterWrite Method (CentralBody, RasterTerrainProvider, 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: 24.2.419.0 (24.2.419.0)
Syntax
public static void Write(
	CentralBody centralBody,
	RasterTerrainProvider terrainProvider,
	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.
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