PrimitiveFactoryCreateEllipseCartographic Method (CentralBody, Cartographic, Double, Double, Double, Double) |
Creates an ellipse 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 CreateEllipseCartographic(
CentralBody centralBody,
Cartographic center,
double majorAxisRadius,
double minorAxisRadius,
double bearing,
double granularity
)
Public Shared Function CreateEllipseCartographic (
centralBody As CentralBody,
center As Cartographic,
majorAxisRadius As Double,
minorAxisRadius As Double,
bearing As Double,
granularity As Double
) As TriangleMeshPrimitive
public:
static TriangleMeshPrimitive^ CreateEllipseCartographic(
CentralBody^ centralBody,
Cartographic center,
double majorAxisRadius,
double minorAxisRadius,
double bearing,
double granularity
)
static member CreateEllipseCartographic :
centralBody : CentralBody *
center : Cartographic *
majorAxisRadius : float *
minorAxisRadius : float *
bearing : float *
granularity : float -> TriangleMeshPrimitive
Parameters
- centralBody
- Type: AGI.Foundation.CelestialCentralBody
Central body to place the ellipse on - center
- Type: AGI.Foundation.CoordinatesCartographic
Cartographic center of the ellipse - majorAxisRadius
- Type: SystemDouble
Major axis of the ellipse - minorAxisRadius
- Type: SystemDouble
Minor axis of the ellipse - bearing
- Type: SystemDouble
Bearing of the ellipse - granularity
- Type: SystemDouble
Granularity of the ellipse
Return Value
Type:
TriangleMeshPrimitiveTriangleMeshPrimitive shaped as an ellipse with granularity
See Also