Below you can see the front-view size comparison of the Panasonic TS6 and Olympus TG-870. The Olympus TG-870 is 3 mm shorter and 1 mm thinner than the Panasonic TS6 but it is also 3 mm wider.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.