Creates and accesses entities that reference topology entities and that specify globally-defined attributes. More...
Data Structures | |
struct | A3DMiscReferenceOnTopologyData |
Structure that identifies the referenced topology entity and that specifies globally-defined attributes. More... | |
Functions | |
A3DStatus | A3DMiscReferenceOnTopologyCreate (const A3DMiscReferenceOnTopologyData *pData, A3DMiscReferenceOnTopology **ppReferenceOnTopoItem) |
Creates an A3DMiscReferenceOnTopology from an A3DMiscReferenceOnTopologyData structure. More... | |
A3DStatus | A3DMiscReferenceOnTopologyGet (const A3DMiscReferenceOnTopology *pReferenceOnTopoItem, A3DMiscReferenceOnTopologyData *pData) |
Populates the A3DMiscReferenceOnTopologyData structure. More... | |
Detailed Description
Creates and accesses entities that reference topology entities and that specify globally-defined attributes.
- Version
- 2.0
Entity type is kA3DTypeMiscReferenceOnTopology.
Reference topology entity are retrieved by indexes on father elements.
For a A3DTopoConnex, it needs:
- the A3DTopoConnex index on the current A3DTopoBrepData.
For a A3DTopoShell, it needs:
- 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 wantedreturn uiShellIndex;uiShellIndex++;}}
For a A3DTopoFace, it needs:
- 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 wantedreturn uiFaceIndex;uiFaceIndex++;}}}
For a A3DTopoEdge or A3DTopoCoEdge, it needs:
- 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.
For a A3DTopoVertex, it needs:
- 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.
Function Documentation
A3DStatus A3DMiscReferenceOnTopologyCreate | ( | const A3DMiscReferenceOnTopologyData * | pData, |
A3DMiscReferenceOnTopology ** | ppReferenceOnTopoItem | ||
) |
Creates an A3DMiscReferenceOnTopology from an A3DMiscReferenceOnTopologyData structure.
- Version
- 2.0
A3DStatus A3DMiscReferenceOnTopologyGet | ( | const A3DMiscReferenceOnTopology * | pReferenceOnTopoItem, |
A3DMiscReferenceOnTopologyData * | pData | ||
) |
Populates the A3DMiscReferenceOnTopologyData structure.
- Version
- 2.0