Project Point Cloud

ProjectPointCloud functions for model file.

Parameters

uRiBrepModelSize: Number of BrepModels in pRiBrepModel.

pRiBrepModel: Array of Brep Models.

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

Structures

Functions