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:
A3DUns32 uiShellIndex = 0;
for all pConnex on A3DTopoBrepData
{
for all pShell on pConnex
{
if pShell is wanted
return uiShellIndex;
uiShellIndex++;
}
}
For a A3DTopoFace, it needs:
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++;
}
}
}
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.
Functions