
##################
A3DCrvProjectPoint
##################

.. c:function:: A3DStatus A3DCrvProjectPoint(const A3DCrvBase *pCrv, const A3DVector3dData *pPointToProject, A3DUns32 *puiNbSolutions, A3DDouble **ppdSolutionParameter, A3DDouble **ppdSolutionDistance)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DCrvProjectPoint(*const* :c:type:`~A3DCrvBase`\ \* **pCrv**\ , *const* :c:struct:`~A3DVector3dData`\ \* **pPointToProject**\ , :c:type:`~A3DUns32`\ \* **puiNbSolutions**\ , :c:type:`~A3DDouble`\ \*\* **ppdSolutionParameter**\ , :c:type:`~A3DDouble`\ \*\* **ppdSolutionDistance**\ )
   
   This function projects a point on a curve.
   
   ppdSolutionParameter and ppdSolutionDistance arrays give the parameter on the curve and the spatial distance between pPointToProject and the solution (on the curve). In order to free output arrays call again A3DCrvProjectPoint with curve sets to A3D_NULL_HANDLE.
   
   
      5.0
   
   
   **Return Values**
   
   
      **A3D_SUCCESS**\ :
   
      **A3D_ERROR**\ :
   
   
   **Parameters**
   
   
      **pCrv**\ : The input curve.
   
      **pPointToProject**\ : The input point to project on curve.
   
      **puiNbSolutions**\ : The number of returned solutions.
   
      **ppdSolutionParameter**\ : Array of parameters on the curve.
   
      **ppdSolutionDistance**\ : Array of spatial distances between pPointToProject and the solution (on the curve).
   
   
   **Returns**
   
   
      ``A3D_SUCCESS`` on success, or an error code on failure
   
   




