Description
For convenience. Computes boundary positions
for a sector 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
Sector
Syntax
| [Visual Basic .NET] |
|---|
Public Function ComputeSectorCartographic( _
ByVal CentralBody As String, _
ByRef Center() As Variant, _
ByVal InnerRadius As Double, _
ByVal OuterRadius As Double, _
ByVal StartBearing As Double, _
ByVal EndBearing As Double _
) As IAgStkGraphicsSurfaceShapesResult
|
Parameters
- CentralBody
- The central body to compute the sector on.
- Center
- An array containing the center of the sector, in the centralBody's fixed reference frame, in the order latitude, longitude, altitude.
- InnerRadius
- The inner radius of the sector, in meters.
- OuterRadius
- The outer radius of the sector, in meters.
- StartBearing
- An angle, in radians, measured clockwise from north indicating the start bearing for the sector.
- EndBearing
- An angle, in radians, measured clockwise from north indicating the end bearing for the sector.
Example
Shows the format of
the Center parameter when computing a sector with a cartographic
position.
| [C#] | Copy Code
|
|
|---|---|---|
|
||
Shows the format of
the Center parameter when computing a sector with a cartographic
position.
| [Visual Basic .NET] | Copy Code
|
|
|---|---|---|
|
||