PrimitiveFactoryCreatePolygonBoundaryCartographic Method |
Creates a bounded polygon from a list of positions.
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static PolylinePrimitive CreatePolygonBoundaryCartographic(
CentralBody centralBody,
IEnumerable<Cartographic> positions
)
Public Shared Function CreatePolygonBoundaryCartographic (
centralBody As CentralBody,
positions As IEnumerable(Of Cartographic)
) As PolylinePrimitive
public:
static PolylinePrimitive^ CreatePolygonBoundaryCartographic(
CentralBody^ centralBody,
IEnumerable<Cartographic>^ positions
)
static member CreatePolygonBoundaryCartographic :
centralBody : CentralBody *
positions : IEnumerable<Cartographic> -> PolylinePrimitive
Parameters
- centralBody
- Type: AGI.Foundation.CelestialCentralBody
Central body to place the polygon on - positions
- Type: System.Collections.GenericIEnumerableCartographic
Cartographic positions of the polygon. First and last points need to be equal for a closed polygon
Return Value
Type:
PolylinePrimitivePolylinePrimitive shaped as a polygon
See Also