Creates and accesses entities that reference topology entities and that specify globally-defined attributes. More...
Data Structures | |
struct | A3DMiscReferenceOnTessData |
Structure that identifies the referenced tesselation entity and that specifies globally-defined attributes. More... | |
struct | A3DMiscReferenceOnTopologyData |
Structure that identifies the referenced topology entity and that specifies globally-defined attributes. More... | |
Functions | |
A3DStatus | A3DMiscReferenceOnTessCreate (const A3DMiscReferenceOnTessData *pData, A3DMiscReferenceOnTess **ppReferenceOnTess) |
Creates an A3DMiscReferenceOnTess from an A3DMiscReferenceOnTessData structure. More... | |
A3DStatus | A3DMiscReferenceOnTessGet (const A3DMiscReferenceOnTess *pReferenceOnTess, A3DMiscReferenceOnTessData *pData) |
Populates the A3DMiscReferenceOnTessData structure for PolyBrepModel. More... | |
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
◆ A3DMiscReferenceOnTopologyGet()
A3DStatus A3DMiscReferenceOnTopologyGet | ( | const A3DMiscReferenceOnTopology * | pReferenceOnTopoItem, |
A3DMiscReferenceOnTopologyData * | pData | ||
) |
Populates the A3DMiscReferenceOnTopologyData structure.
- Version
- 2.0
- Returns
- A3D_SUCCESS in case of success or an error code
- Return values
-
◆ A3DMiscReferenceOnTessGet()
A3DStatus A3DMiscReferenceOnTessGet | ( | const A3DMiscReferenceOnTess * | pReferenceOnTess, |
A3DMiscReferenceOnTessData * | pData | ||
) |
Populates the A3DMiscReferenceOnTessData structure for PolyBrepModel.
- Version
- 9.2
- Returns
- A3D_SUCCESS in case of success or an error code
- Return values
-
◆ A3DMiscReferenceOnTessCreate()
A3DStatus A3DMiscReferenceOnTessCreate | ( | const A3DMiscReferenceOnTessData * | pData, |
A3DMiscReferenceOnTess ** | ppReferenceOnTess | ||
) |
Creates an A3DMiscReferenceOnTess from an A3DMiscReferenceOnTessData structure.
- Version
- 11.0
If m_eTopoItemType is kA3DTypeTessEdge, m_uiSize must be 3 and
- m_puiAdditionalIndexes[0] is the face index in the m_pPolyBrepModel
- m_puiAdditionalIndexes[1] is the loop index in the face
- m_puiAdditionalIndexes[2] is the edge index in the loop
If m_eTopoItemType is kA3DTypeTessVertex, m_uiSize must be 4 and
- m_puiAdditionalIndexes[0] is the face index in the m_pPolyBrepModel
- m_puiAdditionalIndexes[1] is the loop index in the face
- m_puiAdditionalIndexes[2] is the edge index in the loop
- m_puiAdditionalIndexes[3] is the vertex index in the edge
- Returns
- A3D_SUCCESS in case of success or an error code
- Return values
-
◆ A3DMiscReferenceOnTopologyCreate()
A3DStatus A3DMiscReferenceOnTopologyCreate | ( | const A3DMiscReferenceOnTopologyData * | pData, |
A3DMiscReferenceOnTopology ** | ppReferenceOnTopoItem | ||
) |
Creates an A3DMiscReferenceOnTopology from an A3DMiscReferenceOnTopologyData structure.
- Version
- 2.0
- Returns
- A3D_SUCCESS in case of success or an error code
- Return values
-