PrimitiveFactoryCreateLatitudeLongitudeGridExtent Method (CentralBody, CartographicExtent, Double, Double, Double) |
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static PolylinePrimitive CreateLatitudeLongitudeGridExtent(
CentralBody centralBody,
CartographicExtent extent,
double longitudeSpacing,
double latitudeSpacing,
double granularity
)
Public Shared Function CreateLatitudeLongitudeGridExtent (
centralBody As CentralBody,
extent As CartographicExtent,
longitudeSpacing As Double,
latitudeSpacing As Double,
granularity As Double
) As PolylinePrimitive
public:
static PolylinePrimitive^ CreateLatitudeLongitudeGridExtent(
CentralBody^ centralBody,
CartographicExtent^ extent,
double longitudeSpacing,
double latitudeSpacing,
double granularity
)
static member CreateLatitudeLongitudeGridExtent :
centralBody : CentralBody *
extent : CartographicExtent *
longitudeSpacing : float *
latitudeSpacing : float *
granularity : float -> PolylinePrimitive
Parameters
- centralBody
- Type: AGI.Foundation.CelestialCentralBody
The central body on which the extent is defined. - extent
- Type: AGI.Foundation.CoordinatesCartographicExtent
A rectangular area of the central body. - longitudeSpacing
- Type: SystemDouble
The amount of space between each longitude line. - latitudeSpacing
- Type: SystemDouble
The amount of space between each latitude line. - granularity
- Type: SystemDouble
Used to determine how many points to generate for the line. The closer the granularity is to zero,
the smoother the line will look.
Return Value
Type:
PolylinePrimitive
A
PolylinePrimitive
representing the grid.
See Also