equal
deleted
inserted
replaced
59 return Bezier1(conv(p1,p2,t),p2); |
59 return Bezier1(conv(p1,p2,t),p2); |
60 } |
60 } |
61 Bezier1 revert() { return Bezier1(p2,p1);} |
61 Bezier1 revert() { return Bezier1(p2,p1);} |
62 Bezier1 operator()(double a,double b) { return before(b).after(a/b); } |
62 Bezier1 operator()(double a,double b) { return before(b).after(a/b); } |
63 xy grad() { return p2-p1; } |
63 xy grad() { return p2-p1; } |
64 xy grad(double t) { return grad(); } |
64 xy grad(double) { return grad(); } |
65 |
65 |
66 }; |
66 }; |
67 |
67 |
68 class Bezier2 : public BezierBase |
68 class Bezier2 : public BezierBase |
69 { |
69 { |