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


Overlay Sample

Overlay Sample demonstrates programming of Overlays

See also All samples

The application

On start the application creates a new overlay with a closed four segment strip and activates the overlay editor. Select a point or segment and drag it to modify it (Direct User Access mode). Select a point and press Delete key to replace adjacent segments with a shortcut. Select a segment and press Delete to remove the segment.

Select a segment and select Break command in context menu (right mouse click) to divide the segment in half.

Select "New strip" command in context menu and click a sequence of points to define a new strip. Hold Control Key to end the sequence

Controls on the right hand side of the application display information about the current strip and allow modification of its points. Change values in the edit boxes and press "Modify Point" to make the modification.