Click or drag to resize

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)
Syntax
public static TriangleMeshPrimitive CreateSector(
	CentralBody centralBody,
	Cartesian center,
	double innerRadius,
	double outerRadius,
	double startBearing,
	double endBearing
)

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: TriangleMeshPrimitive
TriangleMeshPrimitive shaped as a sector region
See Also