PrimitiveFactoryCreatePolygonCartographic Method |
Creates a polygon triangle mesh.
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 CreatePolygonCartographic(
CentralBody centralBody,
IEnumerable<Cartographic> positions
)
Public Shared Function CreatePolygonCartographic (
centralBody As CentralBody,
positions As IEnumerable(Of Cartographic)
) As TriangleMeshPrimitive
public:
static TriangleMeshPrimitive^ CreatePolygonCartographic(
CentralBody^ centralBody,
IEnumerable<Cartographic>^ positions
)
static member CreatePolygonCartographic :
centralBody : CentralBody *
positions : IEnumerable<Cartographic> -> TriangleMeshPrimitive
Parameters
- centralBody
- Type: AGI.Foundation.CelestialCentralBody
Central body to place the polygon on - positions
- Type: System.Collections.GenericIEnumerableCartographic
Cartographic positions of the polygon
Return Value
Type:
TriangleMeshPrimitiveTriangleMeshPrimitive shaped as a polygon
See Also