Click or drag to resize

DelayedTerrainAzimuthElevationMask Constructor (TerrainProvider, 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.1.418.0 (24.1.418.0)
Syntax
public DelayedTerrainAzimuthElevationMask(
	TerrainProvider provider,
	Cartographic position,
	double maxSearchAngle,
	double stepSize,
	int numberOfAzimuthSteps
)

Parameters

provider
Type: AGI.Foundation.TerrainTerrainProvider
The terrain which defines the horizon at the given position.
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