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


IPatch Interface

GetEdgeComponents
GetVertices

IPatch interface is implemented by patches of surfaces. It gives access to members of the patch software object.

See also: Patchwork Sample, Interface List


HRESULT GetEdgeComponents(IArray2** edges)

Parameters

edges - [out, retval] new array with elements of type IStrip

Remarks:

The methods creates a new array and fills it with IStrip interfaces implemented by wires of the patch.

Elements of the strip are edges. Query IKCLine from the returned element to access the line. When the edge is not straight the element also implement IList which is a list containing IVertex elements for end and internal vertices

Connectors of the strip are Vertices. Query IVertex from the returned element to access the veretx

Edges are numbered in Counter Clock Wise order if looking from outside of the object.

See also: Patchwork Sample


HRESULT GetVertices(IArray2** vertices)

Parameters

vertices - [out, retval] new array with elements of type IVertex

Remarks:

The methods creates a new array and fills it with IVertex interfaces implemented by vertices of the patch. Vertices are numbered in Counter Clock Wise order if looking from outside of the object. The vertex with index ind in the array is one of ends of ind-th edge returned by the GetEdges method above.