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 > IEdge_KC Search Documentation


IEdge_KC(64) Interface

GetEnd
GetAdjacentSimplex
IsInteriorEdge

IIEdge_KC gives access to simplex edges (vertex segments).

IEdge_KC is returned by ISimplex.GetEdge interface. The mesh must be in upgraded state for this interface to be available

See also Morph sample


HRESULT GetEnd(int end, IVertex** vertex )

Parameters

end-[in] indicates the end to retrieve. 0 - first end 1 - second end

vertex - [out,retval] the returned end vertex of the edge

Remarks:

Returns end verticies of the edge


HHHRESULT GetAdjacentSimplex(int side, ISimplex** simplex )

Parameters

side - [in]  0 or 1 index of the side to retrieve

simplex -- [out,retval] the returned simplex or NULL if there is no simplex attached to the edge

Remarks:

For side 0 (1) returns simplex on the left (right) hand side of the edge.


HRESULT IsInteriorEdge(VARIANT_BOOL* interior)

Parameters

interior -[out, retval] The returned value

Remarks:

The method returns true if the edge is not an edge of the mesh, so there are two simplexes sharing this edge. This is true iff the GetAdjacentSimplex() above retuns non-NULL for both 0 and 1 sides.