Click or drag to resize

NgaDigitalTerrainElevationDataCell Constructor (StreamFactory)

Initializes a new instance with the specified stream factory.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public NgaDigitalTerrainElevationDataCell(
	StreamFactory streamFactory
)

Parameters

streamFactory
Type: AGI.Foundation.InfrastructureStreamFactory
The factory to use to create streams to read the DT0, DT1, or DT2 file.
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 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 is .
Remarks
The streams created by streamFactory must support seeking.
See Also