Description
For convenience. Computes boundary positions
for an ellipse 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
Ellipse
Syntax
Parameters
Example
Shows the format of
the Center parameter when computing an ellipse with a cartographic
position.
| [C#] |
Copy Code
|
Array center = new object[]
{
38.85,
-77.04,
3000.0
};
IAgStkGraphicsSurfaceShapesResult shape = sceneManager.Initializers.SurfaceShapes.ComputeEllipseCartographic(
"Earth",
ref center,
45000,
30000,
45);
|
|
Shows the format of
the Center parameter when computing an ellipse with a cartographic
position.
| [Visual Basic .NET] |
Copy Code
|
Dim center
As Array
= New Object() {38.85, -77.04, 3000}
Dim shape As IAgStkGraphicsSurfaceShapesResult =
sceneManager.Initializers.SurfaceShapes.ComputeEllipseCartographic("Earth",
center, 45000, 30000, 45)
|
|
See Also