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)
Syntaxpublic DelayedTerrainAzimuthElevationMask(
TerrainProvider provider,
Cartographic position,
double maxSearchAngle,
double stepSize,
int numberOfAzimuthSteps
)
Public Sub New (
provider As TerrainProvider,
position As Cartographic,
maxSearchAngle As Double,
stepSize As Double,
numberOfAzimuthSteps As Integer
)
public:
DelayedTerrainAzimuthElevationMask(
TerrainProvider^ provider,
Cartographic position,
double maxSearchAngle,
double stepSize,
int numberOfAzimuthSteps
)
new :
provider : TerrainProvider *
position : Cartographic *
maxSearchAngle : float *
stepSize : float *
numberOfAzimuthSteps : int -> DelayedTerrainAzimuthElevationMask
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
See Also