Reference on Topology/Tessellation
Creates and accesses entities that reference topological entities and that specify globally-defined attributes.
2.0
Entity type is kA3DTypeMiscReferenceOnTopology.
Referenced topological entities are retrieved by indexes which are meaningful in the context of their parent element.
For a A3DTopoConnex, it needs:
- the
A3DTopoConnexindex on the currentA3DTopoBrepData.
For a A3DTopoShell, it needs:
A3DUns32uiShellIndex=0; forallpConnexonA3DTopoBrepData { forallpShellonpConnex { ifpShelliswanted returnuiShellIndex; uiShellIndex++; } }
For a A3DTopoFace, it needs:
A3DUns32uiFaceIndex=0; forallpConnexonA3DTopoBrepData { forallpShellonpConnex { forallpFaceonpShell { ifpFaceiswanted returnuiFaceIndex; uiFaceIndex++; } } }
For a A3DTopoEdge or A3DTopoCoEdge, it needs:
- the
A3DTopoFaceindex on the currentA3DTopoBrepData(see index need forA3DTopoFacereference). - the
A3DTopoLoopindex on the currentA3DTopoFace. - the
A3DTopoCoEdgeindex on the currentA3DTopoLoop.
For a A3DTopoVertex, it needs:
- the
A3DTopoFaceindex on the currentA3DTopoBrepData(see index need forA3DTopoFacereference). - the
A3DTopoLoopindex on the currentA3DTopoFace. - the
A3DTopoCoEdgeindex on the currentA3DTopoLoop. - the
A3DTopoVertexindex on the currentA3DTopoEdge. Is set to 0 for the start vertex, and 1 for the end vertex.
Parameters
pData: The
A3DMiscReferenceOnTessDatainstance to create reference fromppReferenceOnTess: A pointer to the resulting
A3DMiscReferenceOnTessentity
Returns
A3D_SUCCESSon success, or an error code on failure
Structures
Functions
A3DMiscReferenceOnTopologyGet()A3DMiscReferenceOnTessGet()A3DMiscReferenceOnTessCreate()A3DMiscReferenceOnTopologyCreate()