Modelling and analysing 3D buildings with a primal/dual data structure