Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有两个固定点,P1 和 P2。触摸时,如何绘制通过 P1、触摸点和 P2 的贝塞尔路径? 换句话说,如果我们知道接触点的位置,有没有办法找出控制点的位置呢?
我想你想要施耐德的贝塞尔曲线拟合算法。它需要一堆点并通过它们拟合贝塞尔曲线。
http://iut-arles.univ-provence.fr/web/romain-raffin/sites/romain-raffin/IMG/pdf/PSchndeider_An_Algorithm_for_automatically_fitting_digitized_curves.pdf