DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Expand ModelsModels
Expand DG Kernel ComponentsDG Kernel Components
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Expand General GeometryGeneral Geometry
Expand ModelModel
Collapse ViewView
Expand General ComputingGeneral Computing
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation LinksHome Page > API Reference > View > I2DEditor_KC 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