Click or drag to resize

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

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