Below you can see the front-view size comparison of the Pentax K-70 and Samsung NX30. The Pentax K-70 is 1 mm narrower and 3 mm shorter than the Samsung NX30 but it is also 16 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.