LatitudeLineCoverageGrid Constructor (CentralBody, Double, Double, Double, Double) |
Construct a new instance based on the given central body and longitude bounds. Both
SaveGridCell and
UseCellSurfaceAreaForWeight are set to
.
The frame is set to the central body's fixed frame and the shape is set to the central body's shape.
Namespace:
AGI.Foundation.Geometry.Discrete
Assembly:
AGI.Foundation.Spatial (in AGI.Foundation.Spatial.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic LatitudeLineCoverageGrid(
CentralBody centralBody,
double latitude,
double minimumLongitude,
double maximumLongitude,
double resolution
)
Public Sub New (
centralBody As CentralBody,
latitude As Double,
minimumLongitude As Double,
maximumLongitude As Double,
resolution As Double
)
public:
LatitudeLineCoverageGrid(
CentralBody^ centralBody,
double latitude,
double minimumLongitude,
double maximumLongitude,
double resolution
)
new :
centralBody : CentralBody *
latitude : float *
minimumLongitude : float *
maximumLongitude : float *
resolution : float -> LatitudeLineCoverageGridParameters
- 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| Exception | Condition |
|---|
| ArgumentOutOfRangeException | Thrown 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 centralBody is .
|
See Also