This project has moved and is read-only. For the latest updates, please go here.

Selecting rotation point in affine transform

Apr 12, 2011 at 7:57 PM
Edited Apr 12, 2011 at 7:58 PM

Is there any way to modify this transform to accept an optional parameter for a center point of rotation?  I have several differnt "layers" of data that I need to transform together.  All contain the same point around which I wish to rotate, but their exterior envelopes vary significantly.  I've found that I can union the layers and perform the affine transform on them as a whole and things stay in line, but I need to keep the layers separate and essentially call them form separate statements.   Any suggestions?

Sep 2, 2011 at 10:01 AM

How can I rotate geometry on center point using AffineTransform function?

Sep 2, 2011 at 10:09 AM

OK, I found AffineTransform::Rotate(angle) Optional parameter for a center point of rotation is good idea.