equal
deleted
inserted
replaced
157 const Point a=(p1+p2)/2; |
157 const Point a=(p1+p2)/2; |
158 const Point b=(p2+p3)/2; |
158 const Point b=(p2+p3)/2; |
159 const Point c=(p3+p4)/2; |
159 const Point c=(p3+p4)/2; |
160 const Point d=(a+b)/2; |
160 const Point d=(a+b)/2; |
161 const Point e=(b+c)/2; |
161 const Point e=(b+c)/2; |
162 const Point f=(d+e)/2; |
162 // const Point f=(d+e)/2; |
163 R f1=_f(Bezier3(p1,a,d,e),_d); |
163 R f1=_f(Bezier3(p1,a,d,e),_d); |
164 R f2=_f(Bezier3(e,d,c,p4),_d); |
164 R f2=_f(Bezier3(e,d,c,p4),_d); |
165 return _s(f1,f2); |
165 return _s(f1,f2); |
166 } |
166 } |
167 |
167 |