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





Windows & Linux

Description

Gets or sets the solid's position. The position is defined in the solid's Reference Frame. The array contains the components of the position 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

If the solid's Automatically Compute Bounding Sphere property is true when setting the solid's position, the Center of the solid's Bounding Sphere is set to the new position. Otherwise, it is the caller's responsibility to update the solid's Bounding Sphere to a sphere that encompasses the solid.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.