Click or drag to resize

PrimitiveFactoryCreateLatitudeLongitudeGridExtent Method (CentralBody, CartographicExtent, Double, Double)

Creates a lat/lon grid over a CartographicExtent.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public static PolylinePrimitive CreateLatitudeLongitudeGridExtent(
	CentralBody centralBody,
	CartographicExtent extent,
	double longitudeSpacing,
	double latitudeSpacing
)

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.

Return Value

Type: PolylinePrimitive
A PolylinePrimitive representing the grid.
See Also