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


2D Models

Two Dimentional models, are collections of 2D entities. 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 IModel2d_DG Interface. In the intial form 2D entities are strips of points connected with linear segments. Use methods of IModel2d_DG to add new or existing entities or remove entities. See 2D Entities topic about modifying geometry of an entity.

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