https://123dok.net/document/zlgle4m2-geometry-deformation-represented-piecewise-continuous-bézier-application-optimization.html