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
[Visual Basic .NET] |
---|
Public Function ComputeCartographicWithAltitudeAndGranularity( _
ByVal CentralBody As String, _
ByRef Positions As System.Array, _
ByVal Altitude As Double, _
ByVal Granularity As Double, _
ByVal PositionsWindingOrder As AgEStkGraphicsWindingOrder _
) As IAgStkGraphicsSurfaceTriangulatorResult
|
[C#] |
---|
public IAgStkGraphicsSurfaceTriangulatorResult ComputeCartographicWithAltitudeAndGranularity(
|
[Managed C++] |
---|
public: IAgStkGraphicsSurfaceTriangulatorResult^ ComputeCartographicWithAltitudeAndGranularity(
|
[Java] |
---|
public IAgStkGraphicsSurfaceTriangulatorResult computeCartographicWithAltitudeAndGranularity(
|
[Unmanaged C++] |
---|
public: HRESULT ComputeCartographicWithAltitudeAndGranularity(
|
- CentralBody
- The central body to compute the triangulation on.
- Positions
- An array containing positions defining the boundary of the polygon to triangulate, provided in the order latitude, longitude, altitude.
- Altitude
- The altitude of the triangulation. When
0
, the mesh is computed to conform to the ellipsoid. - Granularity
- The angular separation, in radians, of positions in the triangulation. Lower granularities are more precise but create more triangles.
- PositionsWindingOrder
-
Member Value Description eStkGraphicsWindingOrderCounterClockwise 0 Positions or triangles are defined in counter-clockwise order. eStkGraphicsWindingOrderClockwise 1 Positions or triangles are defined in clockwise order. eStkGraphicsWindingOrderCompute 2 The winding order is unknown and should be computed. For best performance, only use this value if you do not know the actual winding order.
Shows the format of
the Positions parameter when computing using a surface polygon
triangulator.
[C#] | Copy Code | |
---|---|---|
|
Shows the format of
the Positions parameter when computing using a surface polygon
triangulator.
[Visual Basic .NET] | Copy Code | |
---|---|---|
|