loadPCDData
loadPCDData(data, pointType)
Load any PCD data into a PointCloud type.
For example:
import * as PCL from "pcl.js"
const pcl = await PCL.init()
pcl.io.loadPCDData(ArrayBuffer)
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
| data | ArrayBuffer | The PCD file data. | |
| pointType (optional) | PointType | PointXYZ | The resultant point cloud type. |
Returns:
| Name | Type |
|---|---|
| cloud | PointCloud |