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


I2DEditor_KC Interface

I2DEditor_KC interface provides access to two dimentional editing functionality

I2DEditor_KC can be queried from IView interface of the component.. Query path: DG Kernel > GetView > IView > I2DView_KC > I2DEditor_KC

See also Interface List


HRESULT Activate(VARIANT_BOOL activate)

Remarks:

Either makes the editor available for interactive modifications or deactivates it.


HRESULT Init()

Remarks:

Performs initialisation of the editor when it was created programmaticaly


HRESULT AttachObject(ISection* iEditableObject)

Remarks:

Attaches an object (overlay) which contains 2D geometry to this editor


HRESULT GetObject(ISection** iEditableObject)

Parameters

iEditableObject- [out, retval] The currently attached object with 2D geometry

Remarks:

Returns the object (overlay) which contains 2D geometry being modified by this editor

 


HRESULT BuildPrizm(IStrip *strip, IPrizmInfinite_KC** prizm)

Parameters

strip - [in] 2D polygon of the base of the prizm in local x and y axes
prizm - [out] the resulting oject