MeshClosestPoint - Minimal 3d shape with tolerance - Virtual point cloud of 3d shape

But if the CMP command takes the actual point cloud as an input, could it be used after making an actual point cloud at first?

And select the point cloud temporarily created and make it a 3d model?