STK Graphics PrimitivesSend comments on this topic.
Position Property (IAgStkGraphicsDistanceToPositionDisplayCondition)
See Also
Windows





Windows & Linux

Description

Gets or sets the position used to compute the distance from the camera. The array contains the components of the position arranged in the order x, y, z.

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 * Position
);
[Java]
public AgSafeArray getPosition();
public void setPosition(
    AgSafeArray
);
[Python - STK API ]
@property
def Position(self) -> list:

@Position.setter
def Position(self, Position:list) -> None:

Remarks

position is interpreted to be in the same reference frame as the Reference Frame property. This display condition can be assigned to multiple objects.

See Also

Example

Shows the format of the distance to position display condition's Position property.
[C#]
Array position = new object[] 
{ 
    6700,
    0,
    0
};

condition.Position = position;
Shows the format of the distance to position display condition's Position property.
[Visual Basic .NET]
Dim position As Array = New Object() {6700, 0, 0}

condition.Position = position
© 2024 Analytical Graphics, Inc. All Rights Reserved.