AGI STK Graphics 11Send comments on this topic.
ComputeSimple Method (IAgStkGraphicsSurfaceExtentTriangulatorInitializer)
See Also
CentralBody
The central body to compute the triangulation on.
Extent
An array representing the Cartographic Extent to compute the triangulation for. The elements should be provided in the order west longitude, south latitude, east longitude, north latitude.
Windows






Windows & Linux

Description

Computes a triangulation on the specified centralBody for the specified extent. This is equivalent to calling Compute with an altitude of 0 and a granularity of 1 degree.

Syntax

[Visual Basic .NET]
Public Function ComputeSimple( _
    ByVal CentralBody As String, _
    ByVal Extent As System.Array _
) As 
[C#]
public IAgStkGraphicsSurfaceTriangulatorResult ComputeSimple(
    string CentralBody,
    System.Array Extent
);
[Managed C++]
public: IAgStkGraphicsSurfaceTriangulatorResult^ ComputeSimple(
    String __gc ^ CentralBody,
    System::Array ^ Extent
);
[Java]
public IAgStkGraphicsSurfaceTriangulatorResult computeSimple(
    String CentralBody,
    VariantArray Extent
);
[Unmanaged C++]
public: HRESULT ComputeSimple(
    BSTR CentralBody,
    SAFEARRAY * * Extent,
    IAgStkGraphicsSurfaceTriangulatorResult ** ppRetVal
);

Parameters

CentralBody
The central body to compute the triangulation on.
Extent
An array representing the Cartographic Extent to compute the triangulation for. The elements should be provided in the order west longitude, south latitude, east longitude, north latitude.

See Also

Example

Shows the format of the Extent parameter when computing using a surface extent triangulator.
[C#]
//The LongitudeUnit and LatitudeUnit is expected to be in degrees
Array extent = new object[]
{
    90,
    30,
    -77,
    39
};

IAgStkGraphicsSurfaceTriangulatorResult result = sceneManager.Initializers.SurfaceExtentTriangulator.ComputeSimple(
    "Earth", 
    ref extent);
Shows the format of the Extent parameter when computing using a surface extent triangulator.
[Visual Basic .NET]
'The LongitudeUnit and LatitudeUnit is expected to be in degrees
Dim extent As Array = New Object() {90, 30, -77, 39}

Dim result As IAgStkGraphicsSurfaceTriangulatorResult = sceneManager.Initializers.SurfaceExtentTriangulator.ComputeSimple("Earth", extent)
© 2019 Analytical Graphics, Inc. All Rights Reserved.