A3DProjectPointCloudOptionsData Struct Reference

A3DProjectPointCloudOptionsData structure. More...

Data Fields

A3DBool m_bPreferFaceTowardScan
 
A3DBool m_bUseExactComputation
 
A3DBool m_bUseProbe
 
A3DDouble m_dInsidePointEdgeTolerance
 
A3DDouble m_dProbeRadius
 
A3DDouble m_dTolForPreferFaceTowardScan
 
A3DUns32 m_uNbThreads
 
A3DUns16 m_usStructSize
 

Detailed Description

A3DProjectPointCloudOptionsData structure.

Version
22.2

Field Documentation

◆ m_usStructSize

A3DUns16 A3DProjectPointCloudOptionsData::m_usStructSize

Reserved: will be initialized by A3D_INITIALIZE_DATA.

◆ m_bUseExactComputation

A3DBool A3DProjectPointCloudOptionsData::m_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.

◆ m_uNbThreads

A3DUns32 A3DProjectPointCloudOptionsData::m_uNbThreads

Number of threads wanted. 0 means non multi-threaded. Please avoid setting a number of threads larger than the number of CPU cores.

◆ m_dInsidePointEdgeTolerance

A3DDouble A3DProjectPointCloudOptionsData::m_dInsidePointEdgeTolerance

Tolerance used to check if the projection point which is inside a face is on edge. If not set (0.), default value is 1.e-3. Must be positive.

◆ m_bUseProbe

A3DBool A3DProjectPointCloudOptionsData::m_bUseProbe

Considers solutions on a sphere centered on the point to project. Default value is A3D_FALSE. (inactive).

◆ m_dProbeRadius

A3DDouble A3DProjectPointCloudOptionsData::m_dProbeRadius

Radius of the probe. Must be set if m_bUseProbe is set to A3D_TRUE. Must be positive and greater than zero (>0.) .

◆ m_bPreferFaceTowardScan

A3DBool A3DProjectPointCloudOptionsData::m_bPreferFaceTowardScan

Optional. Prefer solution on face with normal at the projected point is pointing toward from the scanner when there are two solutions on different faces at the m_dTolForPreferFaceTowardScan distance. Default value is false (inactive). If m_bPreferFaceTowardScan is set to A3D_TRUE, and m_bUseProbe is set to A3D_FALSE, input data points of A3DProjectPointCloud3 function must contain normal points. If m_bPreferFaceTowardScan is set to A3D_TRUE, and m_bUseProbe is set to A3D_TRUE, input data points of A3DProjectPointCloud3 must only contain points. In this last case, normals are defined like direction from projected point to center of probe (input point).

◆ m_dTolForPreferFaceTowardScan

A3DDouble A3DProjectPointCloudOptionsData::m_dTolForPreferFaceTowardScan

If m_bPreferFaceTowardScan is A3D_TRUE, and projection points are under this tolerance value, we prefer the face toward solution. If projection point is outside this tolerance the nearest solution is returned. Default is 0.