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