IPick_DG Interface
- GetEntityAt
- GetEntityAt1
- GetSurfacePointAt
An interface for programmatic selection
IPick_DG can be queried from IView_DG. Typical query: dgControl.GetView() > IPick_DG
See also Pick sample
IEntity_DG GetEntityAt(int xWnd, int yWnd)
xWnd, yWnd are window coordinates in pixels measured from the top left corner. Returns the entity on top under the specified window point
IEntity_DG GetEntityAt1(int xWnd, int yWnd, out Point_DG point)
xWnd, yWnd are window coordinates in pixels measured from the top left corner. Returns the entity on top under the specified window point.
point - The returned point on the surface under the specified window point.
ISurfacePoint_DG GetSurfacePointAt(int xWnd, int yWnd)
xWnd, yWnd are window coordinates in pixels measured from the top left corner. Returns extended information about the point on the surface under the specified window point.
|