AGI STK Graphics 11 Send comments on this topic.
ComputeSimple Method (IAgStkGraphicsEllipsoidTriangulatorInitializer)
See Also  Example
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.





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( _
   ByRef Radii As System.Array _
) As IAgStkGraphicsSolidTriangulatorResult

[C#]
public IAgStkGraphicsSolidTriangulatorResult ComputeSimple(
ref System.Array Radii
);

[Managed C++]
public: IAgStkGraphicsSolidTriangulatorResult^ ComputeSimple(
System::Array ^^ Radii
);

[Java]
public IAgStkGraphicsSolidTriangulatorResult computeSimple(
Object[] Radii
);

[Unmanaged C++]
public: HRESULT ComputeSimple(
SAFEARRAY ** Radii,
IAgStkGraphicsSolidTriangulatorResult ** ReturnValue
);

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.

Example

Shows the format of the Radii parameter when computing using an ellipsoid triangulator.
[C#] Copy Code
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] Copy Code
Dim radii As Array = New Object() {2000, 1000, 1000}

Dim result As IAgStkGraphicsSolidTriangulatorResult = sceneManager.Initializers.EllipsoidTriangulator.ComputeSimple(radii)

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1