extract points from pointcloud