PrimitiveFactoryCreateSector Method (CentralBody, Cartesian, Double, Double, Double, Double) |
Creates a sector triangle mesh.
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static TriangleMeshPrimitive CreateSector(
CentralBody centralBody,
Cartesian center,
double innerRadius,
double outerRadius,
double startBearing,
double endBearing
)
Public Shared Function CreateSector (
centralBody As CentralBody,
center As Cartesian,
innerRadius As Double,
outerRadius As Double,
startBearing As Double,
endBearing As Double
) As TriangleMeshPrimitive
public:
static TriangleMeshPrimitive^ CreateSector(
CentralBody^ centralBody,
Cartesian center,
double innerRadius,
double outerRadius,
double startBearing,
double endBearing
)
static member CreateSector :
centralBody : CentralBody *
center : Cartesian *
innerRadius : float *
outerRadius : float *
startBearing : float *
endBearing : float -> TriangleMeshPrimitive
Parameters
- centralBody
- Type: AGI.Foundation.CelestialCentralBody
Central body to place the sector on - center
- Type: AGI.Foundation.CoordinatesCartesian
Center of the sector - innerRadius
- Type: SystemDouble
Inner radius of the sector - outerRadius
- Type: SystemDouble
Outer radius of the sector - startBearing
- Type: SystemDouble
Start bearing of the sector - endBearing
- Type: SystemDouble
End bearing of the sector
Return Value
Type:
TriangleMeshPrimitiveTriangleMeshPrimitive shaped as a sector region
See Also