Reference on Topology/Tessellation
Parent module: Entity Reference
- group a3d_reference_on_topo
Creates and accesses entities that reference topology entities and that specify globally-defined attributes.
Entity type is kA3DTypeMiscReferenceOnTopology.
- Version
2.0
Reference topology entity are retrieved by indexes on father elements.
For a A3DTopoConnex, it needs:
the A3DTopoConnex index on the current A3DTopoBrepData.
the A3DTopoShell index on the current A3DTopoBrepData. It is a global index 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 global index 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 A3DTopoEdge 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.
Data Structures
Structure that identifies the referenced topology entity and that specifies globally-defined attributes. |
|
Structure that identifies the referenced tesselation entity and that specifies globally-defined attributes. |
Functions
Populates the A3DMiscReferenceOnTopologyData structure. |
|
Populates the A3DMiscReferenceOnTessData structure for PolyBrepModel. |
|
Creates an A3DMiscReferenceOnTess from an A3DMiscReferenceOnTessData structure. |
|
Creates an A3DMiscReferenceOnTopology from an A3DMiscReferenceOnTopologyData structure. |