Click or drag to resize

SurfaceShapes.ComputeSectorCartographic Method (CentralBody, Cartographic, Double, Double, Double, Double, Double)

For convenience. Computes boundary positions for a sector on the specified centralBody using a Cartographic center. Longitude and latitude are in radians, and altitude is in meters. This is equivalent to converting center to Cartesian and calling ComputeSector(CentralBody, Cartesian, Double, Double, Double, Double, Double)

Namespace:  AGI.Foundation.Geometry.Discrete
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public static SurfaceShapesResult ComputeSectorCartographic(
	CentralBody centralBody,
	Cartographic center,
	double innerRadius,
	double outerRadius,
	double startBearing,
	double endBearing,
	double granularity
)

Parameters

centralBody
Type: AGI.Foundation.Celestial.CentralBody
The central body to compute the sector on.
center
Type: AGI.Foundation.Coordinates.Cartographic
The center of the sector, in the centralBody's fixed reference frame.
innerRadius
Type: System.Double
The inner radius of the sector, in meters.
outerRadius
Type: System.Double
The outer radius of the sector, in meters.
startBearing
Type: System.Double
An angle, in radians, measured clockwise from north indicating the start bearing for the sector.
endBearing
Type: System.Double
An angle, in radians, measured clockwise from north indicating the end bearing for the sector.
granularity
Type: System.Double
The angular separation, in radians, of positions along the boundary.

Return Value

Type: SurfaceShapesResult
A SurfaceShapesResult object representing the boundary of the sector, in the centralBody's fixed reference frame.
Remarks
See Also