Simplify modelfile curves and surfaces as analytic

Functions

A3DStatus A3DSimplifyModelFileCurveAndSurfaceAsAnalytic (A3DAsmModelFile *p, double dTol)
 Function to traverse the entire modelfile and simplify all curves and surfaces to analytics if possible, according to a certain tolerance. More...
 
A3DStatus A3DSimplifyModelFileWithAnalytics (A3DAsmModelFile *p, A3DDouble dTol, A3DUns32 uNbRecognizedType, A3DEEntityType const *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. More...
 

Detailed Description

Function Documentation

◆ A3DSimplifyModelFileCurveAndSurfaceAsAnalytic()

A3DStatus A3DSimplifyModelFileCurveAndSurfaceAsAnalytic ( A3DAsmModelFile p,
double  dTol 
)

Function to traverse the entire modelfile and simplify all curves and surfaces to analytics if possible, according to a certain tolerance.

Deprecated:
Use A3DSimplifyModelFileWithAnalytics
Parameters
[in,out]pThe input modelfile.
[in]dTolThe tolerance.
Return values
A3D_SUCCESSin case of success or an error code

◆ A3DSimplifyModelFileWithAnalytics()

A3DStatus A3DSimplifyModelFileWithAnalytics ( A3DAsmModelFile p,
A3DDouble  dTol,
A3DUns32  uNbRecognizedType,
A3DEEntityType const *  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
[in,out]pThe input modelfile.
[in]dTolThe tolerance (in millimeters).
[in]uNbRecognizedTypeSize of array pOptRecognizedType.
[in]pOptRecognizedTypeOptional type of surface we want to recognize.
Returns
A3D_SUCCESS in case of success or an error code
Return values