::
Hello,
I am quite confused about the way the arcs are drawn by userdraw_arcs. When we clic 3 points, the middle one is taken as center and first and third determine two arcs (whose union is a circle).
My question is: which one is drawn and what is the idea behind the choice?
I see in the code that (probably due to sign of some atan of angles) it depends on the position of the two « radii » (p1p2 and p2p3) with respect to horizontal axis, so it is not « rotation invariant » (if you turn p1 and p3 by 10° around p2, the angle theta may change to 360°-theta). Is there a pedagogical reason for this choice?
I would have expected rather for example a counterclockwise arc from p1 to p3 around p2 (i.e. same way of constructing a 90° arc from 85° to 175° or from 95° to 185°, which is not the case now).
In any case, if the documentation could explain how it works, it would be great!
Thank you in advance for any explanations.
Éric