.. _group__a3d__rihelpers:

#######
Helpers
#######

High-level functions for Representation Items module.

**Parameters**


   **pRi**\ : The :c:type:`~A3DRiRepresentationItem`\ from which to compute the mesh. If nullptr, memory of the mesh is released.

   **pParentAttributes**\ : The :c:type:`~A3DMiscCascadedAttributes`\ of the representation item's parent.

   **pMesh**\ : The :c:struct:`~A3DMeshData`\ to store the computed mesh or release memory if pRi = nullptr.

   **psMeshOptionsData**\ : Options used to compute Mesh. 0 for now, options structure for future use.


**Returns**


   A3D_SUCCESS if successful, otherwise an error code.


.. rst-class:: kind-group kind-record

.. rubric:: Structures
   :class: kind-group-title


.. rst-class:: api-xref-list


* :c:struct:`~A3DRiComputeMeshParametersData`
* :c:struct:`~A3DMeshData`

.. rst-class:: kind-group kind-function

.. rubric:: Functions
   :class: kind-group-title


.. rst-class:: api-xref-list


* :c:func:`~A3DRiComputeMesh`

.. toctree::
   :maxdepth: 1
   :hidden:

   ../structures/A3DRiComputeMeshParametersData
   ../structures/A3DMeshData
   ../functions/A3DRiComputeMesh


