Click or drag to resize

CentralBodyCoverageGridGetHeightRelativeToSurface Method

Gets the height of a point at a specific longitude and latitude.

Namespace:  AGI.Foundation.Geometry.Discrete
Assembly:  AGI.Foundation.Spatial (in AGI.Foundation.Spatial.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public double GetHeightRelativeToSurface(
	double longitude,
	double latitude
)

Parameters

longitude
Type: SystemDouble
The longitude of the desired grid point.
latitude
Type: SystemDouble
The latitude of the desired grid point.

Return Value

Type: Double
The height of the specified grid point.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown when the latitude is outside the range -π/2 to π/2, or the longitude is outside the range -π to π.
InvalidOperationException Thrown when the Shape of the ReferenceTerrain does not match the Shape of the CentralBody.
Remarks
If ReferenceTerrain is , returns zero. Otherwise, ReferenceTerrain is used to find the height with respect to the CentralBody.
See Also