Fill Polygonal mesh with solid body / surface to solid

I want to compute the volume enclosed by a polygonal mesh surface.
My thought was that for doing so I’ll have to create a solid body of the size of the surface.

How do I fill the mesh?