From: Alan G I. <ai...@am...> - 2006-02-26 18:09:34
|
On Sun, 26 Feb 2006, Michael Schindler apparently wrote: > What happened, is that the "arclength" 3.1415 you inserted > above, is bigger than the total arclength of 1.25 of the > circle. Therefore, you get a point that is extrapolated > from the very last path element the circle consists of > (This is probably a short closing line) This might best, but with circles I guess I would have expected to wrap around (mod arclength). > This is what [Gary] wanted: > x, y = circle.at(0.) > x1, y1 = circle.at(0.5*circle.arclen()) > because the standard parameterisation is in arclength. Suggestion: a convenience method 'at_degress' or 'at_radians' for circles. (Might be nice for arcs too ...) Cheers, Alan Isaac |