Click or drag to resize

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

Construct a new instance based on the given terrain and latitude bounds. The reference frame is set to the central body's fixed frame and the shape is set to the central body's shape. Both SaveGridCell and UseCellSurfaceAreaForWeight are set to .

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 LongitudeLineCoverageGrid(
	TerrainProvider terrainProvider,
	CentralBody centralBody,
	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.
centralBody
Type: AGI.Foundation.CelestialCentralBody
The central body on which this grid is defined.
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 if terrainProvider or centralBody is .
See Also