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


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