Generalised dual mesh construction