STK Graphics PrimitivesSend comments on this topic.
ComputeSingleConstantAltitudeCartographicWithWindingOrder Method (IAgStkGraphicsExtrudedPolylineTriangulatorInitializer)
See Also
CentralBody
The central body to compute the extrusion on.
Positions
An array containing the polyline positions that should be extruded, provided in the order latitude, longitude, altitude.
Altitude
The extrusion's constant altitude above the ellipsoid.
PositionsWindingOrder
The winding order of positions.
Windows





Windows & Linux

Description

For convenience. Computes an extrusion of positions on the specified centralBody using Cartographic positions. One side of the extrusion has a constant altitude and the other has the original altitudes from positions. This is equivalent to converting each position in positions to Cartesian and calling Compute Single Constant Altitude.

Syntax

[Visual Basic .NET]
Public Function ComputeSingleConstantAltitudeCartographicWithWindingOrder( _
    ByVal CentralBody As String, _
    ByVal Positions As System.Array, _
    ByVal Altitude As Double, _
    ByVal PositionsWindingOrder As AgEStkGraphicsWindingOrder _
) As IAgStkGraphicsExtrudedPolylineTriangulatorResult
[C#]
public IAgStkGraphicsExtrudedPolylineTriangulatorResult ComputeSingleConstantAltitudeCartographicWithWindingOrder(
    string CentralBody,
    System.Array Positions,
    double Altitude,
    AgEStkGraphicsWindingOrder PositionsWindingOrder
);
[Managed C++]
public: IAgStkGraphicsExtrudedPolylineTriangulatorResult^ ComputeSingleConstantAltitudeCartographicWithWindingOrder(
    String __gc ^ CentralBody,
    System::Array ^ Positions,
    double Altitude,
    AgEStkGraphicsWindingOrder PositionsWindingOrder
);
[Unmanaged C++]
public: HRESULT ComputeSingleConstantAltitudeCartographicWithWindingOrder(
    BSTR CentralBody,
    SAFEARRAY * * Positions,
    double Altitude,
    AgEStkGraphicsWindingOrder PositionsWindingOrder,
    IAgStkGraphicsExtrudedPolylineTriangulatorResult ** ppRetVal
);
[Java]
public IAgStkGraphicsExtrudedPolylineTriangulatorResult computeSingleConstantAltitudeCartographicWithWindingOrder(
    String CentralBody,
    AgSafeArray Positions,
    double Altitude,
    AgEStkGraphicsWindingOrder PositionsWindingOrder
);
[Python - STK API ]
def ComputeSingleConstantAltitudeCartographicWithWindingOrder(self, CentralBody:str, Positions:list, Altitude:float, PositionsWindingOrder:"AgEStkGraphicsWindingOrder") -> "IAgStkGraphicsExtrudedPolylineTriangulatorResult":

Parameters

CentralBody
The central body to compute the extrusion on.
Positions
An array containing the polyline positions that should be extruded, provided in the order latitude, longitude, altitude.
Altitude
The extrusion's constant altitude above the ellipsoid.
PositionsWindingOrder
The winding order of positions.

See Also

Example

Shows the format of the Positions parameter when computing using an extruded polyline triangulator with cartographic positions.
[C#]
Array positions = new object[]
{
    0, -0.0079, 15000,
    -0.0078, 0, 45000,   
    0, 0.0079, 15000,
    0, 0, 45000,
    0, -0.0079, 15000
};

IAgStkGraphicsExtrudedPolylineTriangulatorResult result = sceneManager.Initializers.ExtrudedPolylineTriangulator.ComputeSingleConstantAltitudeCartographic(
    "Earth", 
    ref positions,
    30000);
Shows the format of the Positions parameter when computing using an extruded polyline triangulator with cartographic positions.
[Visual Basic .NET]
Dim positions As Array = New Object() {0, -0.0079, 15000, -0.0078, 0, 45000, _
	0, 0.0079, 15000, 0, 0, 45000, _
	0, -0.0079, 15000}

Dim result As IAgStkGraphicsExtrudedPolylineTriangulatorResult = sceneManager.Initializers.ExtrudedPolylineTriangulator.ComputeSingleConstantAltitudeCartographic("Earth", positions, 30000)
© 2024 Analytical Graphics, Inc. All Rights Reserved.