# Bézier ActionScript

0 | The essence of the problem is how to cut the rectangle corner. specifically: there are 3 points between which you need to "draw" Bezier curve of second order. But, actually, visualize is not necessary. You only need to get the coordinates of several points, or at least one, the one that lies in the middle of a bézier curve. Work for AS3 (Flex). Problems in order to draw this curve, not at all. But I don't know how to get the point. If you can, would be very grateful for the working code but will not give up on links, something to read. Notice that to study this material to the extent that to write a function myself from beginning to end, I will not, because I need it only in 1 place. Not asking anyone to write this function for me (unless, of course, no desire), because I understand that it is not your concern; but if someone solved similar problem and wrote/found some code on this subject, then please put... Thanks in advance! Incomprehensible task. Abstract there are three points which need to hold a smooth curve? Or is there a rectangle and need to find some three - point meet what conditions? - Sergiks 21-06-2012 в 14:46:01 you need to find the coordinates of at least one point lying in the middle of a bézier curve... - Vladyslav Matviienko 21-06-2012 в 14:49:37 What is this? 4 points: two control, two control? - Sergiks 21-06-2012 в 14:58:56 read carefully! "there are 3 points between which you need to "draw" Bezier curve of the second order." - Vladyslav Matviienko 21-06-2012 в 15:11:27 On Wikipedia quite lucidly described. - sercxjo 21-06-2012 в 16:54:24 |

## Answers 1

0 | For working with curves I use this library: https://code.google.com/p/bezier/ The code I took from example No. 6, it is inside the examples project, it is unlikely that he will work immediately, but should give an understanding as to the points on the curve: in, exactly what I was looking for!(if you earn, of course)) ) Thank you! - Vladyslav Matviienko 21-06-2012 в 15:10:40 To Your Health! :) - ShockWave 21-06-2012 в 15:19:52 |