A3DCompareFacesInBrepModels

A3DStatus A3DCompareFacesInBrepModels(A3DAsmModelFile *pFirstModelFile, A3DAsmModelFile *pSecondModelFile, A3DDouble dTolerance, A3DCompareOutputData *pOutput)
A3DStatus A3DCompareFacesInBrepModels(A3DAsmModelFile* pFirstModelFile, A3DAsmModelFile* pSecondModelFile, A3DDouble dTolerance, A3DCompareOutputData* pOutput)

Function to compare the faces of two A3DAsmModelFile.

Parameters

pFirstModelFile: a A3DAsmModelFile containing the first group of A3DRiBrepModel.

pSecondModelFile: a A3DAsmModelFile containing the second group of A3DRiBrepModel.

dTolerance: maximum distance between two matching faces, in model’s unit

pOutput: pointer to a A3DCompareOutputData that contains returned data. It has to be freed by calling again A3DCompareFacesInBrepModels() with NULL as input A3DAsmModelFile pointers.

Returns

A3D_SUCCESS on success, or an error code on failure