-
公开(公告)号:US07405733B2
公开(公告)日:2008-07-29
申请号:US11088507
申请日:2005-03-24
申请人: Martin Helie , Marc-André Davignon
发明人: Martin Helie , Marc-André Davignon
CPC分类号: G06T11/203
摘要: A computer-implemented graphics program for drawing a spline. The spline is drawn using a first method in the graphics program. Thereafter, the graphics program seamlessly switches from drawing the spline using the first method to drawing the spline using a second method, in response to a first user command. Further, the graphics program may also seamlessly switch from drawing the spline using the second method to drawing the spline using the first method, in response to a second user command.
摘要翻译: 用于绘制样条的计算机实现的图形程序。 在图形程序中使用第一种方法绘制样条。 此后,响应于第一用户命令,图形程序使用第一种方法无缝地切换样条,并使用第二种方法绘制样条。 此外,响应于第二用户命令,图形程序还可以使用第二方法从使用第一方法绘制样条来绘制样条而无缝切换。
-
公开(公告)号:US07196707B2
公开(公告)日:2007-03-27
申请号:US10938715
申请日:2004-09-10
申请人: Marc-André Davignon
发明人: Marc-André Davignon
IPC分类号: G06T11/20
CPC分类号: G06T11/203
摘要: When a Bézier spline is fitted to a plurality of points the two tangent handles at each control point can be very different in length. A method of fitting a second spline to the first spline that has tangent handles of equal length at each control point is provided. A point is found on the first spline that is close to the midpoint between the two control points defining the tangent handles. This point is a new control point on the second spline. Tangent handles to the new control point are then found such that they have a slope equal to the tangent to the first spline at the new control point, the sum of their lengths is equal to the sum of the original two tangent handles and their lengths are equal to each other. A second spline found in this way closely approximates the first spline. The lengths of the tangent handles may be adjusted to provide a better fit.
摘要翻译: 当贝塞尔样条被安装到多个点时,每个控制点处的两个切线手柄的长度可能非常不同。 提供了一种将第二样条拟合到在每个控制点处具有相同长度的切线手柄的第一花键的方法。 在第一个样条线上发现一个点接近定义切线手柄的两个控制点之间的中点。 这一点是第二个样条线上的一个新的控制点。 然后发现新控制点的切线处理使得它们具有等于新控制点处的第一个样条的切线的斜率,其长度之和等于原始两个切线手柄的总和,其长度为 相等。 以这种方式发现的第二个样条函数与第一个样条函数近似。 可以调整切线手柄的长度以提供更好的配合。
-