Rewriting class PointCloud.