Description
Computes a triangulation on the specified
centralBody for the specified extent.
Syntax
| [Visual Basic .NET] |
|---|
Public Function Compute( _
ByVal CentralBody As String, _
ByRef Extent() As Variant, _
ByVal Altitude As Double, _
ByVal Granularity As Double _
) As IAgStkGraphicsSurfaceTriangulatorResult
|
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.
- Altitude
- The altitude of the triangulation. When
0, the mesh is computed to conform to the ellipsoid. - Granularity
- The angular separation, in radians, of triangles in the triangulation. Lower granularities are more precise but create more triangles.
Example
Shows the format of
the Extent parameter when computing using a surface extent
triangulator.
| [C#] | Copy Code
|
|
|---|---|---|
|
||
Shows the format of
the Extent parameter when computing using a surface extent
triangulator.
| [Visual Basic .NET] | Copy Code
|
|
|---|---|---|
|
||