DGKC Control Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Licensing
Collapse ModelsModels
Collapse DG Kernel ControlDG Kernel Control
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
Support
Skip Navigation Links Go to ActiveX docs 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 PointDg 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.