Click or drag to resize

NgaDigitalTerrainElevationData Constructor (String, TerrainCacheGroup)

Initializes a new instance using the specified DMED filename.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public NgaDigitalTerrainElevationData(
	string dmedFileName,
	TerrainCacheGroup cacheGroup
)

Parameters

dmedFileName
Type: SystemString
The full path and filename of the DMED file.
cacheGroup
Type: AGI.Foundation.TerrainTerrainCacheGroup
The cache group with which to associate this terrain provider.
Exceptions
ExceptionCondition
InvalidOperationException Thrown when the Earth instance in the current CalculationContext is not configured with a mean sea level (MSL).
InvalidDataException Thrown when the DMED file does not have the expected format.
ArgumentNullException Thrown when dmedFileName or cacheGroup is .
See Also