STK Graphics PrimitivesSend comments on this topic.
PickRectangular Method (IAgStkGraphicsScene)
See Also
Left
The left x coordinate of the rectangle in the globe control.
Bottom
The bottom y coordinate of the rectangle in the globe control.
Right
The right x coordinate of the rectangle in the globe control.
Top
The top y coordinate of the rectangle in the globe control.
Windows





Windows & Linux

Description

Executes a pick in the given rectangular region and returns a depth sorted collection of picked objects. The coordinate origin is top, left. To pick screen overlays, use the PickScreenOverlays method.

Syntax

[Visual Basic .NET]
Public Function PickRectangular( _
    ByVal Left As Integer, _
    ByVal Bottom As Integer, _
    ByVal Right As Integer, _
    ByVal Top As Integer _
) As IAgStkGraphicsPickResultCollection
[C#]
public IAgStkGraphicsPickResultCollection PickRectangular(
    int Left,
    int Bottom,
    int Right,
    int Top
);
[Managed C++]
public: IAgStkGraphicsPickResultCollection^ PickRectangular(
    int Left,
    int Bottom,
    int Right,
    int Top
);
[Unmanaged C++]
public: HRESULT PickRectangular(
    int Left,
    int Bottom,
    int Right,
    int Top,
    IAgStkGraphicsPickResultCollection ** ppRetVal
);
[Java]
public IAgStkGraphicsPickResultCollection pickRectangular(
    Integer Left,
    Integer Bottom,
    Integer Right,
    Integer Top
);
[Python - STK API ]
def PickRectangular(self, Left:int, Bottom:int, Right:int, Top:int) -> "IAgStkGraphicsPickResultCollection":

Parameters

Left
The left x coordinate of the rectangle in the globe control.
Bottom
The bottom y coordinate of the rectangle in the globe control.
Right
The right x coordinate of the rectangle in the globe control.
Top
The top y coordinate of the rectangle in the globe control.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.