A3DCompareFacesInBrepModels
-
A3DStatus
A3DCompareFacesInBrepModels(A3DAsmModelFile *pFirstModelFile, A3DAsmModelFile *pSecondModelFile, A3DDouble dTolerance, A3DCompareOutputData *pOutput) A3DStatusA3DCompareFacesInBrepModels(A3DAsmModelFile* pFirstModelFile,A3DAsmModelFile* pSecondModelFile,A3DDoubledTolerance,A3DCompareOutputData* pOutput)Function to compare the faces of two
A3DAsmModelFile.This is the same as
A3DCompareFaces()except that A3DRiBrepModel will be found by traversing the twoA3DAsmModelFile.7.0
Comparing two models with different units isn’t supported. Such input to the compare function will given irrelevant results.
Return Values
A3D_SUCCESS:
A3D_INVALID_DATA_STRUCT_NULL:
A3D_INVALID_DATA_STRUCT_SIZE:
A3D_INVALID_ENTITY_TYPE:
A3D_ERROR:
Parameters
pFirstModelFile: a
A3DAsmModelFilecontaining the first group of A3DRiBrepModel.pSecondModelFile: a
A3DAsmModelFilecontaining the second group of A3DRiBrepModel.dTolerance: maximum distance between two matching faces, in model’s unit
pOutput: pointer to a
A3DCompareOutputDatathat contains returned data. It has to be freed by calling againA3DCompareFacesInBrepModels()with A3D_NULL_HANDLE as input A3DAsmModelFile pointers.Returns
A3D_SUCCESSon success, or an error code on failure