Skip to main content

loadPCDData

loadPCDData(data, pointType)

Load any PCD data into a PointCloud type.

For example:

import * as PCL from "pcl.js"

await PCL.init()

PCL.loadPCDData(ArrayBuffer)

Parameters:

NameTypeDefaultDescription
dataArrayBufferThe PCD file data.
pointType (optional)PointTypePointXYZThe resultant point cloud type.

Returns:

NameType
cloudPointCloud