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

Parameters

provider
Type: AGI.Foundation.Terrain.TerrainProvider
The terrain which defines the horizon at the given position.
position
Type: AGI.Foundation.Coordinates.Cartographic
The planetodetic position at which to compute the surrounding mask.
maxSearchAngle
Type: System.Double
The maximum angle, in radians measured from the center of the Ellipsoid, to move along each azimuth ray in constructing the mask.
stepSize
Type: System.Double
The size of the step along each azimuth ray, measured from the center of the Ellipsoid in radians.
numberOfAzimuthSteps
Type: System.Int32
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 null.
ArgumentOutOfRangeExceptionThrown if numberOfAzimuthSteps is less than or equal to zero.
See Also