< Home

< Programming Guide

< Supported File Formats

REFERENCE MANUAL

Data Structures
Project Point Cloud

Data Structures

struct  A3DProjectedPointCloudData
 A3DProjectedPointCloudData structure. More...
 
A3DStatus A3DProjectPointCloud (unsigned int uRiBrepModelSize, A3DRiBrepModel **pRiBrepModel, A3DUns32 uPointCloudSize, A3DVector3dData *pPointCloudToProject, A3DBool bUseExactComputation, A3DUns32 uNbThreads, A3DProjectedPointCloudData **ppProjectedPointCloud)
 Function to project Point Cloud on BrepModel. More...
 

Detailed Description

Version
6.1

ProjectPointCloud functions for model file.

See also
A3DProjectPointCloud

Function Documentation

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

Function to project Point Cloud on BrepModel.

Version
6.1
Parameters
[in]uRiBrepModelSizeNumber of BrepModels in pRiBrepModel.
[in]pRiBrepModelArray of Brep Models.
[in]uPointCloudSizeNumber of points in pPointCloudToProject.
[in]pPointCloudToProjectPoint cloud to project. This point cloud must be in the same coordinate system as the BrepData structures stored in BrepModel.
[in]bUseExactComputationFlag 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.
[in]uNbThreadsNumber of threads wanted. 0 means non multi-thread. Please avoid setting a number of threads larger than the number of CPU cores.
[out]ppProjectedPointCloudPoint cloud projected. ppProjectedPointCloud is automatically allocated by A3DProjectPointCloud. It must be freed with the custom free memory callback.
Returns
A3D_SUCCESS
A3D_INVALID_DATA_STRUCT_NULL
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_ENTITY_TYPE
A3D_ERROR