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:
- the A3DTopoConnex index on the current A3DTopoBrepData.
- 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++; } }
- 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++; } } }
- the A3DTopoFace index on the current A3DTopoBrepData (see index need for A3DTopoFace reference).
- the A3DTopoLoop index on the current A3DTopoFace.
- the A3DTopoCoEdge index on the current A3DTopoLoop.
- the A3DTopoFace index on the current A3DTopoBrepData (see index need for A3DTopoFace reference).
- the A3DTopoLoop index on the current A3DTopoFace.
- the A3DTopoCoEdge index on the current A3DTopoLoop.
- the A3DTopoVertex index on the current A3DTopoEdge. Is set to 0 for the start vertex, and 1 for the end vertex.