
#######################################
A3DSimplifyCurveWithAnalyticsFromCoEdge
#######################################

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

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DSimplifyCurveWithAnalyticsFromCoEdge(*const* :c:type:`~A3DTopoCoEdge`\ \* **pCoEdge**\ , :c:type:`~A3DDouble` **dTol**\ , :c:type:`~A3DUns32` **uNbRecognizedType**\ , :c:enum:`~A3DEEntityType`\ \* **pOptRecognizedType**\ , :c:type:`~A3DCrvBase`\ \*\* **pAnalyticCurve**\ , :c:enum:`~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
   
   




