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


2D Models

Two Dimentional models, are collections of 2D scene items. 2D Models were introduced to represent internal geometry of overlays. See the overlays topic about creating and editing 2D models at runtime in Direct User Access mode.

Programmatically 2D models can be manipulated using IModel_KC Interface. In the intial form 2D items are strips of points connected with linear segments. Use methods of IModel_KC to add new or existing items or remove items. See 2D Items topic about modifying geometry of an item.

Most often modifications made programmatically as described above require a call to UpdateSurface() method of the DG Kernel component to appear in the view. If there are several modification to be done, for preformance call UpdateSurface() once in the end

See also: Overlay sample