STK Graphics PrimitivesSend comments on this topic.
AddRangeToBack Method (IAgStkGraphicsPathPrimitive)
See Also
Positions
An array containing positions (in the order x, y, z) to add to the back of the path.
Windows





Windows & Linux

Description

Add the range of PathPoints to the back of the line.

Syntax

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

Parameters

Positions
An array containing positions (in the order x, y, z) to add to the back of the path.

See Also

Example

Shows the format of the Positions parameter when adding points to a path primitive.
[C#]
Array positions = new object[]
{
    0, 0, 0,
    1, 1, 1,   
    2, 2, 2,
    3, 3, 3,
    4, 4, 4
};

path.AddRangeToFront(ref positions);
Shows the format of the Positions parameter when adding points to a path primitive.
[Visual Basic .NET]
Dim positions As Array = New Object() {0, 0, 0, 1, 1, 1, _
	2, 2, 2, 3, 3, 3, _
	4, 4, 4}

path.AddRangeToFront(positions)
© 2024 Analytical Graphics, Inc. All Rights Reserved.