Description
For convenience. Computes the triangulation on the specified centralBody for a polygon whose boundary is defined by the specified cartographic positions. Longitude and latitude are in radians, and altitude is in meters. This is equivalent to converting each position in positions to cartesian and calling Compute
Syntax
Parameters
See Also
Example
Shows the format of the Positions parameter when computing using a surface polygon triangulator.
| [C#] |
|---|
Array positions = new object[]
{
34.11, -78.01, 0,
34.72, -78.93, 0,
34.11, -79.33, 0,
34.03, -78.69, 0,
34.11, -78.01, 0
};
IAgStkGraphicsSurfaceTriangulatorResult result = sceneManager.Initializers.SurfacePolygonTriangulator.ComputeCartographic(
"Earth",
ref positions);
|
|
Shows the format of the Positions parameter when computing using a surface polygon triangulator.
| [Visual Basic .NET] |
|---|
Dim positions As Array = New Object() {34.11, -78.01, 0, 34.72, -78.93, 0, _
34.11, -79.33, 0, 34.03, -78.69, 0, _
34.11, -78.01, 0}
Dim result As IAgStkGraphicsSurfaceTriangulatorResult = sceneManager.Initializers.SurfacePolygonTriangulator.ComputeCartographic("Earth", positions)
|
|