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.2.419.0 (24.2.419.0)
Syntax public static TriangleMeshPrimitive CreateCircle(
CentralBody centralBody,
Cartesian center,
double radius,
double granularity
)
Public Shared Function CreateCircle (
centralBody As CentralBody,
center As Cartesian,
radius As Double,
granularity As Double
) As TriangleMeshPrimitive
public:
static TriangleMeshPrimitive^ CreateCircle(
CentralBody^ centralBody,
Cartesian center,
double radius,
double granularity
)
static member CreateCircle :
centralBody : CentralBody *
center : Cartesian *
radius : float *
granularity : float -> TriangleMeshPrimitive
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:
TriangleMeshPrimitiveTriangleMeshPrimitive shaped as a circle
See Also