Creating a point cloud based on a geometry