
####################
A3DProjectPointCloud
####################

.. c:function:: A3DStatus A3DProjectPointCloud(unsigned int uRiBrepModelSize, A3DRiBrepModel **pRiBrepModel, A3DUns32 uPointCloudSize, A3DVector3dData *pPointCloudToProject, A3DBool bUseExactComputation, A3DUns32 uNbThreads, A3DProjectedPointCloudData **ppProjectedPointCloud)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DProjectPointCloud(*unsigned int* **uRiBrepModelSize**\ , :c:type:`~A3DRiBrepModel`\ \*\* **pRiBrepModel**\ , :c:type:`~A3DUns32` **uPointCloudSize**\ , :c:struct:`~A3DVector3dData`\ \* **pPointCloudToProject**\ , :c:type:`~A3DBool` **bUseExactComputation**\ , :c:type:`~A3DUns32` **uNbThreads**\ , :c:struct:`~A3DProjectedPointCloudData`\ \*\* **ppProjectedPointCloud**\ )
   
   Function to project Point Cloud on BrepModel.
   
   
      6.1
   
   
   **Return Values**
   
   
      **A3D_SUCCESS**\ :
   
      **A3D_INVALID_DATA_STRUCT_NULL**\ :
   
      **A3D_INVALID_DATA_STRUCT_SIZE**\ :
   
      **A3D_INVALID_ENTITY_TYPE**\ :
   
      **A3D_ERROR**\ :
   
      **A3D_BREPDATA_INCONSISTENT_DATA**\ : if bUseExactComputation is set and if is missing :c:type:`~A3DTopoBrepData`
   
      **A3D_TOPO_GEOMETRY_MISSING**\ : if bUseExactComputation is set and if is missing UV curves
   
      **A3D_INCOMPATIBLE_FUNCTION_WITH_KEEP_PARSED_ENTITY_MODE**\ :
   
   
   **Parameters**
   
   
      **uRiBrepModelSize**\ : Number of BrepModels in pRiBrepModel.
   
      **pRiBrepModel**\ : Array of BRepModels.
   
      **uPointCloudSize**\ : Number of points in pPointCloudToProject.
   
      **pPointCloudToProject**\ : Point cloud to project. This point cloud must be in the same coordinate system as the BrepData structures stored in BrepModel.
   
      **bUseExactComputation**\ : Flag to use exact topology. When this flag is false, the algorithm drops the point cloud on the faceted geometry, otherwise, the exact topology is used.
   
      **uNbThreads**\ : Number of threads wanted. 0 means non multi-thread. Please avoid setting a number of threads larger than the number of CPU cores.
   
      **ppProjectedPointCloud**\ : Point cloud projected. ppProjectedPointCloud is automatically allocated by A3DProjectPointCloud. It must be freed with the custom free memory callback.
   
   
   **Returns**
   
   
      ``A3D_SUCCESS`` on success, or an error code on failure
   
   




