source file of the GNU LilyPond music typesetter
- (c) 1998--2002 Jan Nieuwenhuizen <janneke@gnu.org>
+ (c) 1998--2004 Jan Nieuwenhuizen <janneke@gnu.org>
*/
#include <math.h>
-#include "config.h"
+#include "config.hh"
#include "warn.hh"
#include "libc-extension.hh"
#include "bezier.hh"
Formula of the bezier 3-spline
sum_{j=0}^3 (3 over j) z_j (1-t)^ (3-j) t^j
+
+
+ A is the axis of X coordinate.
*/
Real
}
Offset c = curve_point (ts[0]);
- assert (fabs (c[a] - x) < 1e-8);
+
+ if (fabs (c[a] - x) > 1e-8)
+ programming_error ("Bezier intersection not correct?");
return c[other];
}