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 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


View Point Sample

C# Implementation details

All view manipulations are performed with the help of IFrame interface. This interface is obtained in OnFormLoad() from IView and stored in _iViewFrame field.

OnApply() handler calls IFrame.Reset  method to align the view frame with the global frame and uses IFrame.RotateStd to rotate by Azimuth and Altitude.

QueryParams() methods obtains the current coordinates of the line of view using _iViewFrame.GetAxis(2,...) call and displays them on the form.

See also General description, Viewing InterfacesC# Samples,   All samples.