TerrainAlongLineComputePositionWithMaximumElevationAngle Method (Cartographic, Cartographic, TerrainProvider) |
Namespace:
AGI.Foundation.Terrain
Assembly:
AGI.Foundation.TerrainAnalysis (in AGI.Foundation.TerrainAnalysis.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static Cartesian ComputePositionWithMaximumElevationAngle(
Cartographic observerPosition,
Cartographic targetPosition,
TerrainProvider terrainProvider
)
Public Shared Function ComputePositionWithMaximumElevationAngle (
observerPosition As Cartographic,
targetPosition As Cartographic,
terrainProvider As TerrainProvider
) As Cartesian
public:
static Cartesian ComputePositionWithMaximumElevationAngle(
Cartographic observerPosition,
Cartographic targetPosition,
TerrainProvider^ terrainProvider
)
static member ComputePositionWithMaximumElevationAngle :
observerPosition : Cartographic *
targetPosition : Cartographic *
terrainProvider : TerrainProvider -> Cartesian
Parameters
- observerPosition
- Type: AGI.Foundation.CoordinatesCartographic
The planetodetic position of the observer object, expressed as a longitude, latitude, and altitude
relative to the ellipsoid specified by the Shape property of the
terrainProvider.
- targetPosition
- Type: AGI.Foundation.CoordinatesCartographic
The planetodetic position of the target object, expressed as a longitude, latitude, and altitude
relative 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:
Cartesian
The point on terrain with the highest elevation angle between the observer and target positions
from the perspective of the position closest to the
Shape.
Exceptions See Also