AGI STK Graphics 11 Send comments on this topic.
Position Property (IAgStkGraphicsPathPoint)
See Also  Example





Description

A path point position as a one-dimensional array of three elements corresponding to (X,Y,Z) cartesian coordinates.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property Position() As System.Array

[C#]
public System.Array Position {get; set;}

[Managed C++]
public: __property System::Array^ get_Position();
public: __property void set_Position(
System::Array ^
);

[Unmanaged C++]
public: HRESULT get_Position(
SAFEARRAY ** ppRetVal
);
public: HRESULT put_Position(
SAFEARRAY * pNewPosition
);

[Java]
public Object[] getPosition();public void setPosition(
Object[]
);

Example

Shows the format of the path point's Position property.
[C#] Copy Code
Array position = new object[] 

    1089235
    -4800930
    4046386 
}; 
 
path.Position = position; 
 

Shows the format of the path point's Position property.
[Visual Basic .NET] Copy Code
Dim position As Array = New Object() {1089235, -4800930, 4046386}

path.Position = position

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1