AGI STK Graphics 11Send 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
);
[Java]
public IAgStkGraphicsPickResultCollection pickRectangular(
   ppInteger Left,
   ppInteger Bottom,
   ppInteger Right,
   ppInteger Top
);
[Unmanaged C++]
public: HRESULT PickRectangular(
   int Left,
   int Bottom,
   int Right,
   int Top,
   IAgStkGraphicsPickResultCollection ** ReturnValue
);

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

© 2018 Analytical Graphics, Inc. All Rights Reserved.