C++
ACDB_PORT Acad::ErrorStatus acdbProcessPointCloudData( AcDbEntity* pEnt, const AcDbExtents& ext, int levelOfDetail, IAcPcPointProcessor* pCallback );
File
AcPointCloud.h
Description
Selects a set of points within the point cloud entity.
This function does not modify the points or affect the display of the given entity.
The points within the given extents will be passed to the callback for processing. Points will be extracted from the point cloud engine with the selected level of detail (the POINTCLOUDDENSITY sysvar is not honored), and the processPoints() function in the callback will be called repeatedly as the buffer is filled up until all the points that have been processed.
The buffer will be sized so that no unreasonable memory pressure is put on the system.
Note that there is no clipping performed after extracting the points, so it is likely that a number of points outside the given view frustum will be returned. The actual extents of the points returned depend on the point cloud engine being used.
AcDbPointCloudObj.dbx must be loaded before this function is used.
Parameters
Parameters | Description |
---|---|
pEnt | The point cloud entity. |
ext | The extents of the points returned. |
levelOfDetail | The level of detail. |
pCallback | The callback used for processing. |
Returns
Acad::ErrorStatus.