Click or drag to resize

DelayedTerrainAzimuthElevationMask Constructor (TerrainProvider, Double, Double, Cartographic, Double, Double, Int32)

Create a new instance of the mask based on the given terrain.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainAnalysis (in AGI.Foundation.TerrainAnalysis.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public DelayedTerrainAzimuthElevationMask(
	TerrainProvider provider,
	double minimumTerrainHeight,
	double maximumTerrainHeight,
	Cartographic position,
	double maxSearchAngle,
	double stepSize,
	int numberOfAzimuthSteps
)

Parameters

provider
Type: AGI.Foundation.TerrainTerrainProvider
The terrain which defines the horizon at the given position.
minimumTerrainHeight
Type: SystemDouble
The minimum height in meters that can be returned by the TerrainProvider's GetHeightRelativeToShape(Double, Double) method. Setting this value lower than necessary will not affect the results, but it will decrease performance. Setting it too high can cause incorrect results.
maximumTerrainHeight
Type: SystemDouble
The maximum height in meters that can be returned by the TerrainProvider's GetHeightRelativeToShape(Double, Double) method. Setting this value higher than necessary will not affect the results, but it will decrease performance. Setting it too low can cause incorrect results.
position
Type: AGI.Foundation.CoordinatesCartographic
The planetodetic position at which to compute the surrounding mask.
maxSearchAngle
Type: SystemDouble
The maximum angle, in radians measured from the center of the Ellipsoid, to move along each azimuth ray in constructing the mask.
stepSize
Type: SystemDouble
The size of the step along each azimuth ray, measured from the center of the Ellipsoid in radians.
numberOfAzimuthSteps
Type: SystemInt32
The number of azimuth steps to use to compute the mask. This will define the resolution of the mask around the horizon.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if provider is .
ArgumentOutOfRangeExceptionThrown if numberOfAzimuthSteps is less than or equal to zero.
See Also