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. Recognize surface type are:
Conic Surface Cylindrical Surface Plane Surface Spherical Surface Toric Surface Recognize curve type are:
Linear Curve Circular Curve If uNbRecognizedType and pOptRecognizedType are defined, A3DSimplifyModelFileWithAnalytics recognizes only given types. More...
 

Detailed Description

Function Documentation

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.

Warning
DEPRECATED: use A3DSimplifyModelFileWithAnalytics
Parameters
[in,out]pThe input modelfile.
[in]dTolThe tolerance.
Returns
A3D_SUCCESS
A3D_ERROR
Version
5.2
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. Recognize surface type are:
Conic Surface Cylindrical Surface Plane Surface Spherical Surface Toric Surface Recognize curve type are:
Linear Curve Circular Curve If uNbRecognizedType and pOptRecognizedType are defined, A3DSimplifyModelFileWithAnalytics recognizes only given types.

Parameters
[in,out]pThe input modelfile.
[in]dTolThe tolerance.
[in]uNbRecognizedTypeSize of array pOptRecognizedType.
[in]pOptRecognizedTypeOptional type of surface we want to recognize.
Returns
A3D_SUCCESS
A3D_ERROR
Version
7.0