decode method

decode

Decode the point cloud or mesh from specified file name

Returns

A Mesh or PointCloud instance depends on the file content

def decode(self, file_name):
    ...
ParameterTypeDescription
file_namestrThe file name contains the drc file

decode

Decode the point cloud or mesh from memory data

Returns

A Mesh or PointCloud instance depends on the content

def decode(self, data):
    ...
ParameterTypeDescription
databytesThe raw drc bytes

See Also