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] p The input modelfile. [in] dTol The 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] p The input modelfile. [in] dTol The tolerance. [in] uNbRecognizedType Size of array pOptRecognizedType. [in] pOptRecognizedType Optional type of surface we want to recognize.
- Returns
- A3D_SUCCESS
-
A3D_ERROR
- Version
- 7.0