Can someone take a look at https://github.com/sympy/sympy/pull/331/files
? We need to have RegularPolygon doing a proper rotation. It's about a
15 minute review, I would guess. This may help:

regular polygon has an angel attribute that needs a method to set that
angle. I call (now) that method 'spin' which spins it ccw the angle
given

in order to rotate a regular polygon about a point by some angle, it's
two steps: spin it by that angle then shift its center relative to the
point by that angle, e.g. if you had a triangle centered at 1,0 with a
vertex at 2,0 and you rotated it relative to the origin by 90 degrees
you would expect it to now be centered at 0, 1 with a vertex at 0,2.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to