.. _group__a3d__copy__and__adapt__brep__model:

##########################
Copy and adapt B-rep model
##########################

**Parameters**


   **p**\ : A pointer to the source B-rep entity

   **psSetting**\ : The structure that defines which types of B-rep you would like to convert to

   **pp**\ : A pointer to the result B-rep entity or entities


**Returns**


   ``A3D_SUCCESS``\ on success, or an error code on failure


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

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


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


* :c:struct:`~A3DCopyAndAdaptBrepModelData`

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

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


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


* :c:func:`~A3DCopyAndAdaptBrepModel`
* :c:func:`~A3DCopyAndAdaptBrepModelAdvanced`

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

   ../structures/A3DCopyAndAdaptBrepModelData
   ../functions/A3DCopyAndAdaptBrepModel
   ../functions/A3DCopyAndAdaptBrepModelAdvanced


