Click or drag to resize

NgaDigitalTerrainElevationDataCell Constructor (String, TerrainCacheGroup)

Initializes a new instance using the specified filename.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public NgaDigitalTerrainElevationDataCell(
	string fileName,
	TerrainCacheGroup cacheGroup
)

Parameters

fileName
Type: SystemString
The full path and filename of the DT0, DT1, or DT2 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 User Header Label at the start of the DTED cell does not have the expected format.
ArgumentNullException Thrown when fileName or cacheGroup is .
See Also