
###########################
A3DCompareFacesInBrepModels
###########################

.. c:function:: A3DStatus A3DCompareFacesInBrepModels(A3DAsmModelFile *pFirstModelFile, A3DAsmModelFile *pSecondModelFile, A3DDouble dTolerance, A3DCompareOutputData *pOutput)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DCompareFacesInBrepModels(:c:type:`~A3DAsmModelFile`\ * **pFirstModelFile**\ , :c:type:`~A3DAsmModelFile`\ * **pSecondModelFile**\ , :c:type:`~A3DDouble` **dTolerance**\ , :c:struct:`~A3DCompareOutputData`\ * **pOutput**\ )
   
   Function to compare the faces of two :c:type:`~A3DAsmModelFile`\ . 
   
   **Parameters**
   
   
      **pFirstModelFile**\ : a :c:type:`~A3DAsmModelFile` containing the first group of :c:type:`~A3DRiBrepModel`\ . 
   
      **pSecondModelFile**\ : a :c:type:`~A3DAsmModelFile` containing the second group of :c:type:`~A3DRiBrepModel`\ . 
   
      **dTolerance**\ : maximum distance between two matching faces, in model's unit
   
      **pOutput**\ : pointer to a :c:struct:`~A3DCompareOutputData` that contains returned data. It has to be freed by calling again :c:func:`~A3DCompareFacesInBrepModels` with A3D_NULL_HANDLE as input :c:type:`~A3DAsmModelFile` pointers. 
   
   
   **Returns**
   
   
      ``A3D_SUCCESS`` on success, or an error code on failure
   
   




