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.
是否有可能获得从 nurbs 控制点到 nurbs 曲线的距离?我了解权重控制曲线的形状,但我想获得到控制点的距离。
nurbs 曲线由控制点定义,因此您只需要运行点曲线距离算法。
该算法在“The Nurbs Book”中有描述,但本质上你只需要最小化这个函数:
f(u) = C'(u)∙[C(u) - P]
其中 P 是控制点,C 是您的 nurbs 曲线。C' 是曲线的导数。
您可以使用任何数值方法来找到 f(u) 的最小值,(例如牛顿)