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


ISimplexEx_KC(64) Interface

GetEdge
GetAdjacentSimplex
IsInteriorSimplex

IISimplexEx_KC gives access to  simplex adjacency information

ISimplexEx_KC can be queried from ISimplex interface. The mesh must be in upgraded state for this interface to be available

Two ISimplexEx_KC instances may have different pointer (or hash etc in higher level languages) but still represent the same vertex. Use IObject_KC interface queried from each to compare the identity of the undelying object with a call to IObject_KC.IsEqual

See also Morph sample


HRESULT GetEdge(int side, IEdge_KC** edge )

Parameters

side - [in] 0-based index of edge of the simplex

edge - [out,retval] the returned IEdge_KC interface

Remarks:

Retrieves IEdge_KC interface of side-th edge of the simplex


HRESULT GetAdjacentSimplex(int side, ISimplexEx_KC** simplex )

PParameters

side - [in] 0-based index of edge of the simplex

simplex - [out,retval] The returned adjacent simplex

Remarks:

Returns simplex joined to this simplex via the shared side-th edge or NULL if the edge is edge of the mesh


HRESULT IsInteriorSimplex(VARIANT_BOOL* )

Parameters

interior- [out, retval] True if the simplex does not have edges which lie on edge of the mesh

Remarks:

The method returns true is the simplex does not have common points with edge of the mesh