A3DSimplifyModelFileWithAnalytics

A3DStatus A3DSimplifyModelFileWithAnalytics(A3DAsmModelFile *p, A3DDouble dTol, A3DUns32 uNbRecognizedType, A3DEEntityType const *pOptRecognizedType)

deprecated

A3DStatus A3DSimplifyModelFileWithAnalytics(A3DAsmModelFile* p, A3DDouble dTol, A3DUns32 uNbRecognizedType, 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:

Linear Curve, Circular Curve

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_SUCCESS on success, or an error code on failure