work in progress conversion of the point cloud library, subject to rebases