STK Graphics PrimitivesSend comments on this topic.
ComputeSimple Method (IAgStkGraphicsEllipsoidTriangulatorInitializer)
See Also
Radii
The radii of the ellipsoid along each of its axes. The sizes are expected in the order x, y, z to correspond to the respective axis.
Windows





Windows & Linux

Description

Computes the triangulation for an ellipsoid with the specified radii, centered at the origin, using 32 slices and 16 stacks.

Syntax

[Visual Basic .NET]
Public Function ComputeSimple( _
    ByVal Radii As System.Array _
) As IAgStkGraphicsSolidTriangulatorResult
[C#]
public IAgStkGraphicsSolidTriangulatorResult ComputeSimple(
    System.Array Radii
);
[Managed C++]
public: IAgStkGraphicsSolidTriangulatorResult^ ComputeSimple(
    System::Array ^ Radii
);
[Unmanaged C++]
public: HRESULT ComputeSimple(
    SAFEARRAY * * Radii,
    IAgStkGraphicsSolidTriangulatorResult ** ppRetVal
);
[Java]
public IAgStkGraphicsSolidTriangulatorResult computeSimple(
    AgSafeArray Radii
);
[Python - STK API ]
def ComputeSimple(self, Radii:list) -> "IAgStkGraphicsSolidTriangulatorResult":

Parameters

Radii
The radii of the ellipsoid along each of its axes. The sizes are expected in the order x, y, z to correspond to the respective axis.

See Also

Example

Shows the format of the Radii parameter when computing using an ellipsoid triangulator.
[C#]
Array radii = new object[] 
{
    2000, 
    1000, 
    1000 
};

IAgStkGraphicsSolidTriangulatorResult result = sceneManager.Initializers.EllipsoidTriangulator.ComputeSimple(ref radii);
Shows the format of the Radii parameter when computing using an ellipsoid triangulator.
[Visual Basic .NET]
Dim radii As Array = New Object() {2000, 1000, 1000}

Dim result As IAgStkGraphicsSolidTriangulatorResult = sceneManager.Initializers.EllipsoidTriangulator.ComputeSimple(radii)
© 2024 Analytical Graphics, Inc. All Rights Reserved.