Does "floor" mean the same thing in these two sentences?

The pit floor showed where a ring of post holes had been.

The floor of a cave served the refugees as a home.
the same meaning