Click or drag to resize

TerrainAlongLineComputePositionWithMaximumElevationAngle Method (Cartesian, Cartesian, TerrainProvider)

Computes 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. The DefaultMinimumTerrainHeight and DefaultMaximumTerrainHeight are used for the computation.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainAnalysis (in AGI.Foundation.TerrainAnalysis.dll) Version: 21.2.409.0 (21.2.409.0)
Syntax
public static Cartesian ComputePositionWithMaximumElevationAngle(
	Cartesian observerPositionFixed,
	Cartesian targetPositionFixed,
	TerrainProvider terrainProvider
)

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: 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
ExceptionCondition
ArgumentNullExceptionThrown if terrainProvider is .
See Also