A3DMiscReferenceOnTessCreate

A3DStatus A3DMiscReferenceOnTessCreate(const A3DMiscReferenceOnTessData *pData, A3DMiscReferenceOnTess **ppReferenceOnTess)
A3DStatus A3DMiscReferenceOnTessCreate(const A3DMiscReferenceOnTessData* pData, A3DMiscReferenceOnTess** ppReferenceOnTess)

Creates an A3DMiscReferenceOnTess from an A3DMiscReferenceOnTessData structure.

Edge and Vertex references

If m_eTopoItemType is kA3DTypeTessEdge, m_uiSize must be 3 and:

  • m_puiAdditionalIndexes[0] is the face index in 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 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

Parameters

pData: The A3DMiscReferenceOnTessData instance to create reference from

ppReferenceOnTess: A pointer to the resulting A3DMiscReferenceOnTess entity

Returns

A3D_SUCCESS on success, or an error code on failure