STK Graphics PrimitivesSend comments on this topic.
ComputeWithAltitudesAndWindingOrder Method (IAgStkGraphicsExtrudedPolylineTriangulatorInitializer)
See Also
CentralBody
The central body to compute the extrusion on.
Positions
An array containing the polyline positions (in the order x, y, z), in the centralBody's fixed reference frame, that should be extruded.
BottomAltitude
The extrusion's bottom altitude above the ellipsoid.
TopAltitude
The extrusion's top altitude above the ellipsoid.
PositionsWindingOrder
The winding order of positions.
Windows





Windows & Linux

Description

Computes an extrusion of positions on the specified centralBody with a constant bottomAltitude and topAltitude.

Syntax

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

Parameters

CentralBody
The central body to compute the extrusion on.
Positions
An array containing the polyline positions (in the order x, y, z), in the centralBody's fixed reference frame, that should be extruded.
BottomAltitude
The extrusion's bottom altitude above the ellipsoid.
TopAltitude
The extrusion's top 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 altitudes.
[C#]
Array positions = new object[]
{
    6578.14, 0, 0,
    6512.79, 653.458, 652.476,   
    6545.27, 656.718, 0,
    6578.14, 0, 0
};

IAgStkGraphicsExtrudedPolylineTriangulatorResult result = sceneManager.Initializers.ExtrudedPolylineTriangulator.ComputeWithAltitudes(
    "Earth", 
    ref positions,
    0,
    100);
Shows the format of the Positions parameter when computing using an extruded polyline triangulator with altitudes.
[Visual Basic .NET]
Dim positions As Array = New Object() {6578.14, 0, 0, 6512.79, 653.458, 652.476, _
	6545.27, 656.718, 0, 6578.14, 0, 0}

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