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
Collapse ModelModel
Expand 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 > Model > Entities > Geometry > Mesh Geometry > ISimplexEx_KC 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