A3DSimplifyCurveWithAnalyticsFromCoEdge

A3DStatus A3DSimplifyCurveWithAnalyticsFromCoEdge(const A3DTopoCoEdge *pCoEdge, A3DDouble dTol, A3DUns32 uNbRecognizedType, A3DEEntityType const *pOptRecognizedType, A3DCrvBase **pAnalyticCurve, A3DEAnalyticType *peAnalyticType)

deprecated

A3DStatus A3DSimplifyCurveWithAnalyticsFromCoEdge(const A3DTopoCoEdge* pCoEdge, A3DDouble dTol, A3DUns32 uNbRecognizedType, A3DEEntityType* pOptRecognizedType, A3DCrvBase** pAnalyticCurve, A3DEAnalyticType* peAnalyticType)

Function to get curves as analytic (line or circle) according to a certain tolerance Try to use 3D curves from Edges if exist, otherwise use UV Curves on CoEdge.

Parameters

pCoEdge: The input coEdge.

dTol: The tolerance.

uNbRecognizedType: Size of array pOptRecognizedType.

pOptRecognizedType: Optional type of curve we want to recognize.

pAnalyticCurve: The new analytic curve.

Returns

A3D_SUCCESS on success, or an error code on failure