
##############
A3DCurveLength
##############

.. c:function:: A3DStatus A3DCurveLength(const A3DCrvBase *pCrv, const A3DIntervalData *pOptInterval, A3DDouble *pdLength)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DCurveLength(*const* :c:type:`~A3DCrvBase`\ \* **pCrv**\ , *const* :c:struct:`~A3DIntervalData`\ \* **pOptInterval**\ , :c:type:`~A3DDouble`\ \* **pdLength**\ )
   
   Function to compute the length of a curve (optionally restricted to an interval)
   
   **Parameters**
   
   
      **pCrv**\ : The curve::c:type:`~A3DCrvBase`\ .
   
      **pOptInterval**\ : The interval of restriction of the curve (if NULL, the natural interval of the curve will be used).
   
      **pdLength**\ : The length of the curve.
   
   
   **Returns**
   
   
      ``A3D_SUCCESS``\ on success, or an error code on failure
   
   




