For convenience. Updates a subset of positions, colors, and/or optional point properties in a polyline using Cartographic positions. This is equivalent to converting each position in positions to Cartesian and calling SetPartial.
[Visual Basic .NET] |
---|
Public Sub SetPartialCartographicWithOptionalParameters( _ ByVal CentralBody As String, _ ByVal Positions As System.Array, _ ByVal Colors As System.Array, _ ByVal OptionalParameters As IAgStkGraphicsPolylinePrimitiveOptionalParameters, _ ByVal Indices As System.Array _ ) |
[C#] |
---|
public void SetPartialCartographicWithOptionalParameters( string CentralBody, System.Array Positions, System.Array Colors, IAgStkGraphicsPolylinePrimitiveOptionalParameters OptionalParameters, System.Array Indices ); |
[Managed C++] |
---|
public: void SetPartialCartographicWithOptionalParameters( String __gc ^ CentralBody, System::Array ^ Positions, System::Array ^ Colors, IAgStkGraphicsPolylinePrimitiveOptionalParameters ^ OptionalParameters, System::Array ^ Indices ); |
[Unmanaged C++] |
---|
public: HRESULT SetPartialCartographicWithOptionalParameters( BSTR CentralBody, SAFEARRAY * * Positions, SAFEARRAY * * Colors, IAgStkGraphicsPolylinePrimitiveOptionalParameters * OptionalParameters, SAFEARRAY * * Indices ); |
[Java] |
---|
public void setPartialCartographicWithOptionalParameters( String CentralBody, AgSafeArray Positions, AgSafeArray Colors, IAgStkGraphicsPolylinePrimitiveOptionalParameters OptionalParameters, AgSafeArray Indices ); |
[Python - STK API ] |
---|
def SetPartialCartographicWithOptionalParameters(self, CentralBody:str, Positions:list, Colors:list, OptionalParameters:"IAgStkGraphicsPolylinePrimitiveOptionalParameters", Indices:list) -> None: |
- CentralBody
- The central body the positions are defined on.
- Positions
- An array containing new positions used to update a subset of positions in the polyline, provided in the order latitude, longitude, altitude.
- Colors
- An array containing the numeric representation of the color used to update a subset of colors in the polyline. There must be one color for each position in positions. In .NET a Color should be translated to a number by calling its
ToArgb
method and casting the result as an unsigned integer. - OptionalParameters
- Optional parameters corresponding to positions. Each optional property must have the same number of elements as positions.
- Indices
- An array of integers containing the indices into positions. A set of latitude, longitude, and altitude elements is considered a single index.
See SetPartial for a full discussion.