Mathematics in the geometric mesh of cities