deprecated_A3DGetSurfaceAsAnalytic

A3DStatus deprecated_A3DGetSurfaceAsAnalytic(A3DSurfBase const *pSrf, double dTol, A3DSurfBase **pAnalyticSurface, A3DEAnalyticType *peAnalyticType)

deprecated

A3DStatus deprecated_A3DGetSurfaceAsAnalytic(A3DSurfBase* pSrf, double dTol, A3DSurfBase** pAnalyticSurface, A3DEAnalyticType* peAnalyticType)

Function to get surface as analytic according to a certain tolerance.

5.0

Use A3DEntityDelete() to delete the analytic surface after using it. Recognized surface type are: Conic Surface Cylindrical Surface Plane Surface Spherical Surface Toric Surface Deprecateduse A3DSimplifySurfaceWithAnalytics() instead. This will be removed in version 2026.1.0.

Parameters

pSrf: The input surface

dTol: Tolerance

pAnalyticSurface: The new analytic surface.

Returns

A3D_SUCCESS on success, or an error code on failure