NgaDigitalTerrainElevationDataCell Constructor (StreamFactory, TerrainCacheGroup) |
Initializes a new instance with the specified stream factory.
Namespace:
AGI.Foundation.Terrain
Assembly:
AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic NgaDigitalTerrainElevationDataCell(
StreamFactory streamFactory,
TerrainCacheGroup cacheGroup
)
Public Sub New (
streamFactory As StreamFactory,
cacheGroup As TerrainCacheGroup
)
public:
NgaDigitalTerrainElevationDataCell(
StreamFactory^ streamFactory,
TerrainCacheGroup^ cacheGroup
)
new :
streamFactory : StreamFactory *
cacheGroup : TerrainCacheGroup -> NgaDigitalTerrainElevationDataCellParameters
- streamFactory
- Type: AGI.Foundation.InfrastructureStreamFactory
The factory to use to create streams to read 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 Stream created from the streamFactory
ends unexpectedly before the required terrain data could be read.
|
| InvalidDataException |
Thrown when the User Header Label at the start of the DTED cell does not have
the expected format.
|
| ArgumentNullException |
Thrown when streamFactory or cacheGroup is .
|
Remarks
The streams created by streamFactory must support seeking.
See Also