A3DSimplifyModelFileWithAnalytics
-
A3DStatus
A3DSimplifyModelFileWithAnalytics(A3DAsmModelFile *p, A3DDouble dTol, A3DUns32 uNbRecognizedType, A3DEEntityType const *pOptRecognizedType) deprecated
A3DStatusA3DSimplifyModelFileWithAnalytics(A3DAsmModelFile* p,A3DDoubledTol,A3DUns32uNbRecognizedType,A3DEEntityType* pOptRecognizedType)Function to traverse the entire modelfile and simplify all curves and surfaces to analytics if possible, according to a certain tolerance.
Recognized surface types are:Conic Surface, Cylindrical Surface, Plane Surface, Spherical Surface, Toric Surface
Recognized curve types are:If uNbRecognizedType and pOptRecognizedType are defined,A3DSimplifyModelFileWithAnalytics()recognizes only the given types.Parameters
p: The input modelfile.
dTol: The tolerance (in millimeters).
uNbRecognizedType: Size of array pOptRecognizedType.
pOptRecognizedType: Optional type of surface we want to recognize.
Returns
A3D_SUCCESSon success, or an error code on failure