Measuring three-dimensional surfaces with a two-dimensional data tablet