Discrete Fairing of Curves and Surfaces based on Linear Curvature Distribution