From point clouds to geometry for detailed micro-modelling of masonry structures