Earlier quoted context omitted.
The page you linked seems to do a reasonable job of answering that: "Using on your phone’s built-in GPS, Wi-Fi, and gyroscope to determine distances and the orientation of walls, RoomScan can reliably estimate measurements to within about half a foot, which should be adequate if all you need is a rough floor plan. If, you need more precise measurements, you can opt for the $5 Pro version, which allows you to specify…
I was suggesting GPS wouldn't work with most rooms having ceilings. Wifi positioning I would imagine is highly inaccurate, which leaves the gyroscope. Judging by some screenshots and appstore comments I assume its only roughly accurate, and requires you to move your phone slowly between walls in straight lines (not via your pocket or around furniture for example). I think I would have immediately dismissed an idea li…
Wifi positioning is based on triangulating (trilateralating) between 3-40 fixed points within 100 meters.
Assuming you can get access to the raw data, Wifi should be extremely accurate for calculating the distance between two points in space separated by less than 30 meters. (And probably pretty accurate up to 100 meters or so.)