Simplify modelfile curves and surfaces as analytic

Functions

A3DStatus

A3DSimplifyModelFileCurveAndSurfaceAsAnalytic

A3DStatus

A3DSimplifyModelFileWithAnalytics

Detailed Description

group a3d_simplify_modelfile_curve_and_surface_as_analytic

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

Version

5.2

Parameters
  • p[inout] The input modelfile.

  • dTol[in] The tolerance.

Return values
  • A3D_SUCCESS

  • A3D_ERROR

  • A3D_INCOMPATIBLE_FUNCTION_WITH_KEEP_PARSED_ENTITY_MODE

Returns

A3D_SUCCESS in case of success or an error code

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.

Version

7.0

Parameters
  • p[inout] The input modelfile.

  • dTol[in] The tolerance (in millimeters).

  • uNbRecognizedType[in] Size of array pOptRecognizedType.

  • pOptRecognizedType[in] Optional type of surface we want to recognize.

Return values
  • A3D_SUCCESS

  • A3D_ERROR

  • A3D_INCOMPATIBLE_FUNCTION_WITH_KEEP_PARSED_ENTITY_MODE

Returns

A3D_SUCCESS in case of success or an error code