STK Graphics PrimitivesSend comments on this topic.
Pick Method (IAgStkGraphicsScene)
See Also
X
The x coordinate of the globe control.
Y
The y coordinate of the globe control.
Windows





Windows & Linux

Description

Executes a pick at the given x, y 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 Pick( _
    ByVal X As Integer, _
    ByVal Y As Integer _
) As IAgStkGraphicsPickResultCollection
[C#]
public IAgStkGraphicsPickResultCollection Pick(
    int X,
    int Y
);
[Managed C++]
public: IAgStkGraphicsPickResultCollection^ Pick(
    int X,
    int Y
);
[Unmanaged C++]
public: HRESULT Pick(
    int X,
    int Y,
    IAgStkGraphicsPickResultCollection ** ppRetVal
);
[Java]
public IAgStkGraphicsPickResultCollection pick(
    Integer X,
    Integer Y
);
[Python - STK API ]
def Pick(self, X:int, Y:int) -> "IAgStkGraphicsPickResultCollection":

Parameters

X
The x coordinate of the globe control.
Y
The y coordinate of the globe control.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.