Description
Computes an extrusion of positions on the
specified centralBody. One side of the extrusion has a constant
altitude and the other has the original altitudes from positions.
This is equivalent to calling
Compute
Single Constant Altitude with a
positionsWindingOrder of
Compute.
Syntax
Parameters
Example
Shows the format of
the Positions parameter when computing using an extruded polyline
triangulator.
| [C#] |
Copy Code
|
Array positions = new object[]
{
6392.94, -50.5053, 0,
6422.94, 0, -49.7669,
6392.94, 50.5053, 0,
6422.94, 0, 49.7669,
6392.94, -50.5053, 0
};
IAgStkGraphicsExtrudedPolylineTriangulatorResult result = sceneManager.Initializers.ExtrudedPolylineTriangulator.ComputeSingleConstantAltitude(
"Earth",
ref positions,
30000);
|
|
Shows the format of
the Positions parameter when computing using an extruded polyline
triangulator.
| [Visual Basic .NET] |
Copy Code
|
Dim
positions As Array = New
Object() {6392.94, -50.5053, 0,
6422.94, 0, -49.7669, _
6392.94, 50.5053, 0, 6422.94, 0, 49.7669,
_
6392.94, -50.5053, 0}
Dim result As
IAgStkGraphicsExtrudedPolylineTriangulatorResult =
sceneManager.Initializers.ExtrudedPolylineTriangulator.ComputeSingleConstantAltitude("Earth",
positions, 30000)
|
|
See Also