Click or drag to resize

PrimitiveFactoryCreateCircle Method (CentralBody, Cartesian, Double, Double)

Creates a circle triangle mesh with a specified granularity.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public static TriangleMeshPrimitive CreateCircle(
	CentralBody centralBody,
	Cartesian center,
	double radius,
	double granularity
)

Parameters

centralBody
Type: AGI.Foundation.CelestialCentralBody
Central body to place the circle on
center
Type: AGI.Foundation.CoordinatesCartesian
Center of the circle
radius
Type: SystemDouble
Radius of the circle
granularity
Type: SystemDouble
Granularity of the circle

Return Value

Type: TriangleMeshPrimitive
TriangleMeshPrimitive shaped as a circle
See Also