2D translate , rotate

63 views
Skip to first unread message

Giri Narayanan

unread,
Aug 13, 2011, 8:02:33 AM8/13/11
to sage-s...@googlegroups.com
Hello,
Are 2D translation and rotation (about axes) of Graphics objects supported. I found this reference: http://markmail.org/message/y6ineljtmzywbals#query:+page:1+mid:jordm5eitb23jrkc+state:results
But can't find concrete examples.
Thanks.
-giri

Maarten Derickx

unread,
Aug 16, 2011, 1:35:47 PM8/16/11
to sage-s...@googlegroups.com
Currently (as the reference you gave already said) it is only implemented for 3d objects. Try the following for example:

sage: c=circle((1,1,1),1) 
sage: c.translate((1,3,4))
sage: c.rotateX(2)

Reply all
Reply to author
Forward
0 new messages