Click or drag to resize

LatitudeLineCoverageGrid Constructor (TerrainProvider, CentralBody, Double, Double, Double, Double)

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

Namespace:  AGI.Foundation.Geometry.Discrete
Assembly:  AGI.Foundation.Spatial (in AGI.Foundation.Spatial.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public LatitudeLineCoverageGrid(
	TerrainProvider terrainProvider,
	CentralBody centralBody,
	double latitude,
	double minimumLongitude,
	double maximumLongitude,
	double resolution
)

Parameters

terrainProvider
Type: AGI.Foundation.TerrainTerrainProvider
The TerrainProvider used to generate the height of the grid points, and the provider of the fixed frame used for the grid.
centralBody
Type: AGI.Foundation.CelestialCentralBody
The central body on which this grid is defined.
latitude
Type: SystemDouble
The planetodetic latitude of the line, in radians.
minimumLongitude
Type: SystemDouble
The west-most longitude of the line, in radians.
maximumLongitude
Type: SystemDouble
The east-most longitude 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 the 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 or centralBody is .
See Also