DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Collapse ModelsModels
Collapse DG Kernel ComponentsDG Kernel Components
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Search Documentation


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.