STK Graphics PrimitivesSend comments on this topic.
SetPartialWithColorsAndOptionalParameters Method (IAgStkGraphicsPolylinePrimitive)
See Also
Positions
An array containing positions (in the order x, y, z) used to update a subset of positions in the polyline.
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 x, y, and z elements is considered a single index.
Windows





Windows & Linux

Description

Updates a subset of positions, colors, and/or optional point properties in a polyline.

Syntax

[Visual Basic .NET]
Public Sub SetPartialWithColorsAndOptionalParameters( _
    ByVal Positions As System.Array, _
    ByVal Colors As System.Array, _
    ByVal OptionalParameters As IAgStkGraphicsPolylinePrimitiveOptionalParameters, _
    ByVal Indices As System.Array _
)
[C#]
public void SetPartialWithColorsAndOptionalParameters(
    System.Array Positions,
    System.Array Colors,
    IAgStkGraphicsPolylinePrimitiveOptionalParameters OptionalParameters,
    System.Array Indices
);
[Managed C++]
public: void SetPartialWithColorsAndOptionalParameters(
    System::Array ^ Positions,
    System::Array ^ Colors,
    IAgStkGraphicsPolylinePrimitiveOptionalParameters ^ OptionalParameters,
    System::Array ^ Indices
);
[Unmanaged C++]
public: HRESULT SetPartialWithColorsAndOptionalParameters(
    SAFEARRAY * * Positions,
    SAFEARRAY * * Colors,
    IAgStkGraphicsPolylinePrimitiveOptionalParameters * OptionalParameters,
    SAFEARRAY * * Indices
);
[Java]
public void setPartialWithColorsAndOptionalParameters(
    AgSafeArray Positions,
    AgSafeArray Colors,
    IAgStkGraphicsPolylinePrimitiveOptionalParameters OptionalParameters,
    AgSafeArray Indices
);
[Python - STK API ]
def SetPartialWithColorsAndOptionalParameters(self, Positions:list, Colors:list, OptionalParameters:"IAgStkGraphicsPolylinePrimitiveOptionalParameters", Indices:list) -> None:

Parameters

Positions
An array containing positions (in the order x, y, z) used to update a subset of positions in the polyline.
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 x, y, and z elements is considered a single index.

Remarks

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.