loadPCDFile
loadPCDFile(filename, pointType)
Load any PCD file into a PointCloud type.
For example:
import * as PCL from "pcl.js"
await PCL.init()
PCL.loadPCDFile("test.pcd", PCL.PointXYZ)
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
| filename | string | The name of the file to load. | |
| pointType (optional) | PointType | PointXYZ | The resultant point cloud type. |
Returns:
| Name | Type |
|---|---|
| cloud | PointCloud |