Click or drag to resize

PrimitiveFactoryCreateSectorCartographic Method (CentralBody, Cartographic, Double, Double, Double, Double, Double)

Creates a sector triangle mesh with a specified granularity.

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 CreateSectorCartographic(
	CentralBody centralBody,
	Cartographic center,
	double innerRadius,
	double outerRadius,
	double startBearing,
	double endBearing,
	double granularity
)

Parameters

centralBody
Type: AGI.Foundation.CelestialCentralBody
Central body to place the sector on
center
Type: AGI.Foundation.CoordinatesCartographic
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
granularity
Type: SystemDouble
Granularity of the sector

Return Value

Type: TriangleMeshPrimitive
TriangleMeshPrimitive shaped as a sector region
See Also