Automatic generation of indoor navigable space using a point cloud and its scanner trajectory