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: 25.2.423.0 (25.2.423.0)
Syntaxpublic NgaDigitalTerrainElevationDataCell(
string fileName,
TerrainCacheGroup cacheGroup
)
Public Sub New (
fileName As String,
cacheGroup As TerrainCacheGroup
)
public:
NgaDigitalTerrainElevationDataCell(
String^ fileName,
TerrainCacheGroup^ cacheGroup
)
new :
fileName : string *
cacheGroup : TerrainCacheGroup -> NgaDigitalTerrainElevationDataCellParameters
- 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| Exception | Condition |
|---|
| 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