Click or drag to resize

SurfaceShapesComputeSector Method (CentralBody, Cartesian, Double, Double, Double, Double)

Computes boundary positions for a sector on the specified centralBody This is equivalent to calling ComputeSector(CentralBody, Cartesian, Double, Double, Double, Double) with a granularity of 1 degree.

Namespace:  AGI.Foundation.Geometry.Discrete
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
public static SurfaceShapesResult ComputeSector(
	CentralBody centralBody,
	Cartesian 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.CoordinatesCartesian
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