A3DMiscReferenceOnTessCreate

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

Creates an A3DMiscReferenceOnTessfrom an A3DMiscReferenceOnTessDatastructure.

Edge and Vertex references

If m_eTopoItemTypeis kA3DTypeTessEdge, m_uiSize must be 3and:

  • 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_eTopoItemTypeis kA3DTypeTessVertex, m_uiSizemust be 4and

  • 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 A3DMiscReferenceOnTessDatainstance to create reference from

ppReferenceOnTess: A pointer to the resulting A3DMiscReferenceOnTessentity

Returns

A3D_SUCCESSon success, or an error code on failure