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





Windows & Linux

Description

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

Syntax

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

Parameters

Positions
An array containing positions (in the order x, y, z) to add to the front 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.