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: 24.3.420.0 (24.3.420.0)
Syntax public static SurfaceShapesResult ComputeSector(
CentralBody centralBody,
Cartesian center,
double innerRadius,
double outerRadius,
double startBearing,
double endBearing
)
Public Shared Function ComputeSector (
centralBody As CentralBody,
center As Cartesian,
innerRadius As Double,
outerRadius As Double,
startBearing As Double,
endBearing As Double
) As SurfaceShapesResult
public:
static SurfaceShapesResult^ ComputeSector(
CentralBody^ centralBody,
Cartesian center,
double innerRadius,
double outerRadius,
double startBearing,
double endBearing
)
static member ComputeSector :
centralBody : CentralBody *
center : Cartesian *
innerRadius : float *
outerRadius : float *
startBearing : float *
endBearing : float -> SurfaceShapesResult
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:
SurfaceShapesResultA
SurfaceShapesResult object representing the boundary of the sector, in the
centralBody's fixed reference frame.
Remarks See Also