PrimitiveFactory.CreateSector 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.3.420.0 (24.3.420.0)
Syntaxpublic 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.Celestial.CentralBody
Central body to place the sector on - center
- Type: AGI.Foundation.Coordinates.Cartesian
Center of the sector - innerRadius
- Type: System.Double
Inner radius of the sector - outerRadius
- Type: System.Double
Outer radius of the sector - startBearing
- Type: System.Double
Start bearing of the sector - endBearing
- Type: System.Double
End bearing of the sector
Return Value
Type:
TriangleMeshPrimitiveTriangleMeshPrimitive shaped as a sector region
See Also