Reference on Topology/Tessellation

Functions

A3DStatus A3DMiscReferenceOnTopologyGet()
A3DStatus A3DMiscReferenceOnTessGet()
A3DStatus A3DMiscReferenceOnTessCreate()
A3DStatus A3DMiscReferenceOnTopologyCreate()

Detailed Description

group a3d_reference_on_topo

Creates and accesses entities that reference topological entities and that specify globally-defined attributes.

Entity type is kA3DTypeMiscReferenceOnTopology.

Version
2.0

Referenced topological entities are retrieved by indexes which are meaningful in the context of their parent element.

For a A3DTopoConnex, it needs:

For a A3DTopoShell, it needs:
  • the A3DTopoShell index on the current A3DTopoBrepData. It is a index which is global to the BrepData. In the case of several A3DTopoConnex, it must take into account the number of shells present in the preceding A3DTopoConnex.
    A3DUns32 uiShellIndex = 0;
    for all pConnex on A3DTopoBrepData
    {
        for all pShell on pConnex
        {
            if pShell is wanted
                return uiShellIndex;
            uiShellIndex++;
        }
    }
    
For a A3DTopoFace, it needs:
  • the A3DTopoFace index on the current A3DTopoBrepData. It is a index which is global to the BrepData. In the case of several A3DTopoConnex, it must take into account the number of faces present in the preceding A3DTopoConnex.
    A3DUns32 uiFaceIndex = 0;
    for all pConnex on A3DTopoBrepData
    {
        for all pShell on pConnex
        {
            for all pFace on pShell
            {
                if pFace is wanted
                    return uiFaceIndex;
                uiFaceIndex++;
            }
        }
    }
    
For a A3DTopoEdge or A3DTopoCoEdge, it needs: For a A3DTopoVertex, it needs:

Function Documentation