TerrainAlongLineComputeElevationAngleAboveTerrain Method (Cartesian, Cartesian, TerrainProvider) | 
 
            Computes the angle from the line of sight between the target and observer positions
            and the direction to the point on terrain with the highest elevation angle.
            The angle is determined from the perspective of the position closest to the 
Shape.
            The 
DefaultMinimumTerrainHeight and 
DefaultMaximumTerrainHeight are used for the computation.
            
 
    Namespace: 
   AGI.Foundation.Terrain
    Assembly:
   AGI.Foundation.TerrainAnalysis (in AGI.Foundation.TerrainAnalysis.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic static double ComputeElevationAngleAboveTerrain(
	Cartesian observerPositionFixed,
	Cartesian targetPositionFixed,
	TerrainProvider terrainProvider
)
Public Shared Function ComputeElevationAngleAboveTerrain ( 
	observerPositionFixed As Cartesian,
	targetPositionFixed As Cartesian,
	terrainProvider As TerrainProvider
) As Double
public:
static double ComputeElevationAngleAboveTerrain(
	Cartesian observerPositionFixed, 
	Cartesian targetPositionFixed, 
	TerrainProvider^ terrainProvider
)
static member ComputeElevationAngleAboveTerrain : 
        observerPositionFixed : Cartesian * 
        targetPositionFixed : Cartesian * 
        terrainProvider : TerrainProvider -> float 
Parameters
- observerPositionFixed
 - Type: AGI.Foundation.CoordinatesCartesian
            The position of the observer object, expressed in the reference frame fixed to the 
            ellipsoid specified by the Shape property of the
            terrainProvider.
             - targetPositionFixed
 - Type: AGI.Foundation.CoordinatesCartesian
            The position of the target object, expressed in the reference frame fixed to the 
            ellipsoid specified by the Shape property of the
            terrainProvider.
             - terrainProvider
 - Type: AGI.Foundation.TerrainTerrainProvider
            The terrain provider describing the terrain that is potentially obscuring the path
            between the two objects.
             
Return Value
Type: 
Double
            The angle from the line of sight between the target and observer positions
            and the direction to the point on terrain with the highest elevation angle.
            The angle is determined from the perspective of the position closest to the 
Shape.
            Positive numbers indicate that the line of sight between the objects is not obscured by terrain.
            Negative numbers indicate that it is obscured.
            
Exceptions
See Also