
#############
A3DMeshRepair
#############

.. c:function:: A3DStatus A3DMeshRepair(A3DAsmModelFile *pModelFile, const A3DMeshRepairParametersData *pSettings)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DMeshRepair(:c:type:`~A3DAsmModelFile`\ \* **pModelFile**\ , *const* :c:struct:`~A3DMeshRepairParametersData`\ \* **pSettings**\ )
   
   Function to repair meshes of a model file.
   
   **Return Values**
   
   
      **A3D_SUCCESS**\ :
   
      **A3D_ERROR**\ :
   
      **A3D_INITIALIZE_NOT_CALLED**\ :
   
      **A3D_INVALID_DATA_STRUCT_NULL**\ :
   
      **A3D_INVALID_ENTITY_NULL**\ :
   
      **A3D_INCOMPATIBLE_FUNCTION_WITH_KEEP_PARSED_ENTITY_MODE**\ :
   
   
   This function repair all meshes in a Model File according to customers' options.
   
   Depending on their activation, the following options are applied in the following order: **Remove** duplicated vertices **Remove** T-junctions
   
   
      24.7
   
   
   **Parameters**
   
   
      **pModelFile**\ : The source model file to repair.
   
      **pSettings**\ : The structure that defines the operations to process.
   
   
   **Returns**
   
   
      ``A3D_SUCCESS`` on success, or an error code on failure
   
   




