For convenience. Computes the triangulation on the specified centralBody for a polygon whose boundary is defined by the specified Cartographic positions. This is equivalent to converting each position in positions to Cartesian and calling Compute.
[Visual Basic .NET] |
---|
Public Function ComputeCartographicWithAltitudeAndGranularity( _ ByVal CentralBody As String, _ ByVal Positions As System.Array, _ ByVal Altitude As Double, _ ByVal Granularity As Double, _ ByVal PositionsWindingOrder As AgEStkGraphicsWindingOrder _ ) As IAgStkGraphicsSurfaceTriangulatorResult |
[C#] |
---|
public IAgStkGraphicsSurfaceTriangulatorResult ComputeCartographicWithAltitudeAndGranularity( string CentralBody, System.Array Positions, double Altitude, double Granularity, AgEStkGraphicsWindingOrder PositionsWindingOrder ); |
[Managed C++] |
---|
public: IAgStkGraphicsSurfaceTriangulatorResult^ ComputeCartographicWithAltitudeAndGranularity( String __gc ^ CentralBody, System::Array ^ Positions, double Altitude, double Granularity, AgEStkGraphicsWindingOrder PositionsWindingOrder ); |
[Unmanaged C++] |
---|
public: HRESULT ComputeCartographicWithAltitudeAndGranularity( BSTR CentralBody, SAFEARRAY * * Positions, double Altitude, double Granularity, AgEStkGraphicsWindingOrder PositionsWindingOrder, IAgStkGraphicsSurfaceTriangulatorResult ** ppRetVal ); |
[Java] |
---|
public IAgStkGraphicsSurfaceTriangulatorResult computeCartographicWithAltitudeAndGranularity( String CentralBody, AgSafeArray Positions, double Altitude, double Granularity, AgEStkGraphicsWindingOrder PositionsWindingOrder ); |
[Python - STK API ] |
---|
def ComputeCartographicWithAltitudeAndGranularity(self, CentralBody:str, Positions:list, Altitude:float, Granularity:float, PositionsWindingOrder:"AgEStkGraphicsWindingOrder") -> "IAgStkGraphicsSurfaceTriangulatorResult": |
- 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 of positions in the triangulation. Lower granularities are more precise but create more triangles.
- PositionsWindingOrder
- The winding order of positions.
IAgStkGraphicsSurfacePolygonTriangulatorInitializer Interface | IAgStkGraphicsSurfacePolygonTriangulatorInitializer
Shows the format of the Positions parameter when computing using a surface polygon triangulator.
[C#] | ||
---|---|---|
|
Shows the format of the Positions parameter when computing using a surface polygon triangulator.
[Visual Basic .NET] | ||
---|---|---|
|