Click or drag to resize

SurfaceShapesComputeSectorCartographic Method (CentralBody, Cartographic, 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)

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

Parameters

centralBody
Type: AGI.Foundation.CelestialCentralBody
The central body to compute the sector on.
center
Type: AGI.Foundation.CoordinatesCartographic
The center of the sector, in the centralBody's fixed reference frame.
innerRadius
Type: SystemDouble
The inner radius of the sector, in meters.
outerRadius
Type: SystemDouble
The outer radius of the sector, in meters.
startBearing
Type: SystemDouble
An angle, in radians, measured clockwise from north indicating the start bearing for the sector.
endBearing
Type: SystemDouble
An angle, in radians, measured clockwise from north indicating the end bearing for the sector.

Return Value

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