AGI STK Graphics 11 Send comments on this topic.
ComputeCircleCartographic Method (IAgStkGraphicsSurfaceShapesInitializer)
See Also  Example
CentralBody
The central body to compute the circle on.
Center
An array containing the center of the circle, in the order latitude, longitude, altitude.
Radius
The radius of the circle, in meters.

Description

For convenience. Computes boundary positions for a circle on the specified centralBody using a Cartographic center. Longitude and latitude are in radians, and altitude is in meters. This is equivalent to converting center to Cartesian and calling Compute Circle

Syntax

[Visual Basic .NET]
Public Function ComputeCircleCartographic( _
   ByVal CentralBody As String, _
   ByRef Center() As Variant, _
   ByVal Radius As Double _
) As IAgStkGraphicsSurfaceShapesResult

Parameters

CentralBody
The central body to compute the circle on.
Center
An array containing the center of the circle, in the order latitude, longitude, altitude.
Radius
The radius of the circle, in meters.

Example

Shows the format of the Center parameter when computing a circle with a cartographic position.
[C#] Copy Code
Array center = new object[] 

    39.88, 
    -75.25, 
    0.0 
}; 
 
IAgStkGraphicsSurfaceShapesResult shape = sceneManager.Initializers.SurfaceShapes.ComputeCircleCartographic( 
    "Earth", 
    ref center, 
    10000); 
 
Shows the format of the Center parameter when computing a circle with a cartographic position.
[Visual Basic .NET] Copy Code
Dim center As Array = New Object() {39.88, -75.25, 0}

Dim shape As IAgStkGraphicsSurfaceShapesResult = sceneManager.Initializers.SurfaceShapes.ComputeCircleCartographic("Earth", center, 10000)

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK 11.1 Programming Interface