DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Collapse ModelsModels
Collapse DG Kernel ControlsDG Kernel Controls
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse ViewsViews
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Go to DGKC docs Search Documentation


Zoom Sample

C# Implementation details

All implementation is contained in the main form class named ZoomForm.

OnZoom() handler converts screen coordinates of the zoom center to global 3D coordinates using IView_DG.ScreenTo3DEx. The point has to be converted to local to the Eye frame to use the ILook.ZoomEx method. This is accomplished via IFrameEx.ToLocal.for the IFrame of the Eye Frame.

See also All C# samples