Click or drag to resize

AGIWorldTerrain Constructor (FileStreamFactory, TerrainCacheGroup)

Initializes a new instance using specified FileStreamFactory and TerrainCacheGroup.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public AGIWorldTerrain(
	FileStreamFactory fileStreamFactory,
	TerrainCacheGroup cacheGroup
)

Parameters

fileStreamFactory
Type: AGI.Foundation.InfrastructureFileStreamFactory
The factory to use to create streams to read the terrain data.
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 CalculationContext is not configured with a mean sea level (MSL).
ArgumentNullException Thrown when fileStreamFactory or cacheGroup is .
See Also