Click or drag to resize

AGIProcessedTerrainWriterWrite Method (CentralBody, RasterTerrainProvider, String, 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,
	string 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: SystemString
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