Click or drag to resize

LongitudeLineCoverageGrid Constructor (TerrainProvider, Double, Double, Double, Double)

Construct a new instance based on the given terrain and latitude bounds. Both SaveGridCell and UseCellSurfaceAreaForWeight are set to .

Namespace:  AGI.Foundation.Geometry.Discrete
Assembly:  AGI.Foundation.Spatial (in AGI.Foundation.Spatial.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public LongitudeLineCoverageGrid(
	TerrainProvider terrainProvider,
	double longitude,
	double minimumLatitude,
	double maximumLatitude,
	double resolution
)

Parameters

terrainProvider
Type: AGI.Foundation.TerrainTerrainProvider
The TerrainProvider used to generate the height of the grid points.
longitude
Type: SystemDouble
The longitude of the line, in radians.
minimumLatitude
Type: SystemDouble
The south-most planetodetic latitude of the line, in radians.
maximumLatitude
Type: SystemDouble
The north-most planetodetic latitude of the line, in radians.
resolution
Type: SystemDouble
The requested resolution, in radians, representing an upper bound to the angular spacing between grid points.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if either latitude is outside the range from -pi/2 to pi/2, or the resolution is less than or equal to 0.
ArgumentNullException Thrown when terrainProvider is .
See Also